Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 302275
b: refs/heads/master
c: 8bdca00
h: refs/heads/master
i:
  302273: 28253b1
  302271: c074861
v: v3
  • Loading branch information
Laxman Dewangan authored and Mark Brown committed May 13, 2012
1 parent e0453c0 commit 02934bb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6790178f55d47771fca806f6a4b3d55582065eb1
refs/heads/master: 8bdca009e66bb18a990a4be1830c73acacfce331
2 changes: 1 addition & 1 deletion trunk/drivers/regulator/tps62360-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ static int __devinit tps62360_probe(struct i2c_client *client,
}

config.dev = &client->dev;
config.init_data = &pdata->reg_init_data;
config.init_data = pdata->reg_init_data;
config.driver_data = tps;

/* Register the regulators */
Expand Down
4 changes: 1 addition & 3 deletions trunk/include/linux/regulator/tps62360.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
#ifndef __LINUX_REGULATOR_TPS62360_H
#define __LINUX_REGULATOR_TPS62360_H

#include <linux/regulator/machine.h>

/*
* struct tps62360_regulator_platform_data - tps62360 regulator platform data.
*
Expand All @@ -44,7 +42,7 @@
* @vsel1_def_state: Default state of vsel1. 1 if it is high else 0.
*/
struct tps62360_regulator_platform_data {
struct regulator_init_data reg_init_data;
struct regulator_init_data *reg_init_data;
bool en_force_pwm;
bool en_discharge;
bool en_internal_pulldn;
Expand Down

0 comments on commit 02934bb

Please sign in to comment.