diff options
author | Mark Brown <broonie@linaro.org> | 2014-06-02 12:08:02 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-02 12:08:02 -0400 |
commit | 42398dbdea411eec0ec3d469df0eeb2e4089d9ab (patch) | |
tree | 951d0591f3a30f5be0a1285e0abd769bf887c1de /include/linux/regulator/consumer.h | |
parent | dc49f3d5eb93217b598383e9cbefe7df819ab267 (diff) | |
parent | 69c3f7239e29216fbf92a39c86b4e9cc63cd6d74 (diff) |
Merge remote-tracking branch 'regulator/topic/core' into regulator-next
Diffstat (limited to 'include/linux/regulator/consumer.h')
-rw-r--r-- | include/linux/regulator/consumer.h | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h index 1a4a8c157b31..ccd3d777ee03 100644 --- a/include/linux/regulator/consumer.h +++ b/include/linux/regulator/consumer.h | |||
@@ -151,11 +151,13 @@ int regulator_register_supply_alias(struct device *dev, const char *id, | |||
151 | const char *alias_id); | 151 | const char *alias_id); |
152 | void regulator_unregister_supply_alias(struct device *dev, const char *id); | 152 | void regulator_unregister_supply_alias(struct device *dev, const char *id); |
153 | 153 | ||
154 | int regulator_bulk_register_supply_alias(struct device *dev, const char **id, | 154 | int regulator_bulk_register_supply_alias(struct device *dev, |
155 | const char *const *id, | ||
155 | struct device *alias_dev, | 156 | struct device *alias_dev, |
156 | const char **alias_id, int num_id); | 157 | const char *const *alias_id, |
158 | int num_id); | ||
157 | void regulator_bulk_unregister_supply_alias(struct device *dev, | 159 | void regulator_bulk_unregister_supply_alias(struct device *dev, |
158 | const char **id, int num_id); | 160 | const char * const *id, int num_id); |
159 | 161 | ||
160 | int devm_regulator_register_supply_alias(struct device *dev, const char *id, | 162 | int devm_regulator_register_supply_alias(struct device *dev, const char *id, |
161 | struct device *alias_dev, | 163 | struct device *alias_dev, |
@@ -164,12 +166,12 @@ void devm_regulator_unregister_supply_alias(struct device *dev, | |||
164 | const char *id); | 166 | const char *id); |
165 | 167 | ||
166 | int devm_regulator_bulk_register_supply_alias(struct device *dev, | 168 | int devm_regulator_bulk_register_supply_alias(struct device *dev, |
167 | const char **id, | 169 | const char *const *id, |
168 | struct device *alias_dev, | 170 | struct device *alias_dev, |
169 | const char **alias_id, | 171 | const char *const *alias_id, |
170 | int num_id); | 172 | int num_id); |
171 | void devm_regulator_bulk_unregister_supply_alias(struct device *dev, | 173 | void devm_regulator_bulk_unregister_supply_alias(struct device *dev, |
172 | const char **id, | 174 | const char *const *id, |
173 | int num_id); | 175 | int num_id); |
174 | 176 | ||
175 | /* regulator output control and status */ | 177 | /* regulator output control and status */ |
@@ -290,17 +292,17 @@ static inline void regulator_unregister_supply_alias(struct device *dev, | |||
290 | } | 292 | } |
291 | 293 | ||
292 | static inline int regulator_bulk_register_supply_alias(struct device *dev, | 294 | static inline int regulator_bulk_register_supply_alias(struct device *dev, |
293 | const char **id, | 295 | const char *const *id, |
294 | struct device *alias_dev, | 296 | struct device *alias_dev, |
295 | const char **alias_id, | 297 | const char * const *alias_id, |
296 | int num_id) | 298 | int num_id) |
297 | { | 299 | { |
298 | return 0; | 300 | return 0; |
299 | } | 301 | } |
300 | 302 | ||
301 | static inline void regulator_bulk_unregister_supply_alias(struct device *dev, | 303 | static inline void regulator_bulk_unregister_supply_alias(struct device *dev, |
302 | const char **id, | 304 | const char * const *id, |
303 | int num_id) | 305 | int num_id) |
304 | { | 306 | { |
305 | } | 307 | } |
306 | 308 | ||
@@ -317,15 +319,17 @@ static inline void devm_regulator_unregister_supply_alias(struct device *dev, | |||
317 | { | 319 | { |
318 | } | 320 | } |
319 | 321 | ||
320 | static inline int devm_regulator_bulk_register_supply_alias( | 322 | static inline int devm_regulator_bulk_register_supply_alias(struct device *dev, |
321 | struct device *dev, const char **id, struct device *alias_dev, | 323 | const char *const *id, |
322 | const char **alias_id, int num_id) | 324 | struct device *alias_dev, |
325 | const char *const *alias_id, | ||
326 | int num_id) | ||
323 | { | 327 | { |
324 | return 0; | 328 | return 0; |
325 | } | 329 | } |
326 | 330 | ||
327 | static inline void devm_regulator_bulk_unregister_supply_alias( | 331 | static inline void devm_regulator_bulk_unregister_supply_alias( |
328 | struct device *dev, const char **id, int num_id) | 332 | struct device *dev, const char *const *id, int num_id) |
329 | { | 333 | { |
330 | } | 334 | } |
331 | 335 | ||