diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-01 20:05:46 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-01 20:05:46 -0400 |
| commit | cfe22345ad5ef29e192e157fdc3e17d357e4bc24 (patch) | |
| tree | 15173bab84cb9122a95d46f2b49fb139362b5248 /include/linux | |
| parent | 60ad4466821a96913a9b567115e194ed1087c2d7 (diff) | |
| parent | 424c3d4a2c7d4ac3467a4849f8ccc230f670c35a (diff) | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6: (23 commits)
regulator: Improve WM831x DVS VSEL selection algorithm
regulator: Bootstrap wm831x DVS VSEL value from ON VSEL if not already set
regulator: Set up GPIO for WM831x VSEL before enabling VSEL mode
regulator: Add EPEs to the MODULE_ALIAS() for wm831x-dcdc
regulator: Fix WM831x DCDC DVS VSEL bootstrapping
regulator: Fix WM831x regulator ID lookups for multiple WM831xs
regulator: Fix argument format type errors in error prints
regulator: Fix memory leak in set_machine_constraints() error paths
regulator: Make core more chatty about some errors
regulator: tps65910: Fix array access out of bounds bug
regulator: tps65910: Add missing breaks in switch/case
regulator: tps65910: Fix a memory leak in tps65910_probe error path
regulator: TWL: Remove entry of RES_ID for 6030 macros
ASoC: tlv320aic3x: Add correct hw registers to Line1 cross connect muxes
regulator: Add basic per consumer debugfs
regulator: Add rdev_crit() macro
regulator: Refactor supply implementation to work as regular consumers
regulator: Include the device name in the microamps_requested_ file
regulator: Increase the limit on sysfs file names
regulator: Properly register dummy regulator driver
...
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/regulator/consumer.h | 3 | ||||
| -rw-r--r-- | include/linux/regulator/driver.h | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h index 9e87c1cb7270..26f6ea4444e3 100644 --- a/include/linux/regulator/consumer.h +++ b/include/linux/regulator/consumer.h | |||
| @@ -122,6 +122,9 @@ struct regulator; | |||
| 122 | struct regulator_bulk_data { | 122 | struct regulator_bulk_data { |
| 123 | const char *supply; | 123 | const char *supply; |
| 124 | struct regulator *consumer; | 124 | struct regulator *consumer; |
| 125 | |||
| 126 | /* Internal use */ | ||
| 127 | int ret; | ||
| 125 | }; | 128 | }; |
| 126 | 129 | ||
| 127 | #if defined(CONFIG_REGULATOR) | 130 | #if defined(CONFIG_REGULATOR) |
diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h index 6c433b89c80d..1a80bc77517d 100644 --- a/include/linux/regulator/driver.h +++ b/include/linux/regulator/driver.h | |||
| @@ -188,18 +188,16 @@ struct regulator_dev { | |||
| 188 | 188 | ||
| 189 | /* lists we belong to */ | 189 | /* lists we belong to */ |
| 190 | struct list_head list; /* list of all regulators */ | 190 | struct list_head list; /* list of all regulators */ |
| 191 | struct list_head slist; /* list of supplied regulators */ | ||
| 192 | 191 | ||
| 193 | /* lists we own */ | 192 | /* lists we own */ |
| 194 | struct list_head consumer_list; /* consumers we supply */ | 193 | struct list_head consumer_list; /* consumers we supply */ |
| 195 | struct list_head supply_list; /* regulators we supply */ | ||
| 196 | 194 | ||
| 197 | struct blocking_notifier_head notifier; | 195 | struct blocking_notifier_head notifier; |
| 198 | struct mutex mutex; /* consumer lock */ | 196 | struct mutex mutex; /* consumer lock */ |
| 199 | struct module *owner; | 197 | struct module *owner; |
| 200 | struct device dev; | 198 | struct device dev; |
| 201 | struct regulation_constraints *constraints; | 199 | struct regulation_constraints *constraints; |
| 202 | struct regulator_dev *supply; /* for tree */ | 200 | struct regulator *supply; /* for tree */ |
| 203 | 201 | ||
| 204 | void *reg_data; /* regulator_dev data */ | 202 | void *reg_data; /* regulator_dev data */ |
| 205 | 203 | ||
