aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorRobin Gong <b38343@freescale.com>2013-07-25 22:27:18 -0400
committerMark Brown <broonie@linaro.org>2013-07-26 14:06:48 -0400
commit205c97bcb8773f31184aedd86e229c95fffb179a (patch)
tree86ecbfc6dc5c05c8d2cd51bc54b48aa611fdb19f /drivers/regulator
parent3784b6d64dc52ed3fbebad61a85ab9b7a687a167 (diff)
regulator:pfuze100: fix build warning and correct the binding doc
fix building warning and correct the binding doc Signed-off-by: Robin Gong <b38343@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/pfuze100-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/pfuze100-regulator.c b/drivers/regulator/pfuze100-regulator.c
index fcc7cd0d25cc..e2f9dcf3eb21 100644
--- a/drivers/regulator/pfuze100-regulator.c
+++ b/drivers/regulator/pfuze100-regulator.c
@@ -295,7 +295,7 @@ static inline struct device_node *match_of_node(int index)
295#else 295#else
296static int pfuze_parse_regulators_dt(struct pfuze_chip *chip) 296static int pfuze_parse_regulators_dt(struct pfuze_chip *chip)
297{ 297{
298 return NULL; 298 return 0;
299} 299}
300 300
301static inline struct regulator_init_data *match_init_data(int index) 301static inline struct regulator_init_data *match_init_data(int index)