summaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-07-01 12:17:08 +0200
committerMark Brown <broonie@linaro.org>2013-07-01 12:17:08 +0200
commit39c9f80f43d754dadb2cd1adbc365840b5e99cca (patch)
tree786a8c9a70ffced6995f014df69a5a1b112803a0 /drivers/regulator
parentMerge remote-tracking branch 'regulator/topic/drvdata' into regulator-next (diff)
parentregulator: isl6271a: Use NULL instead of 0 (diff)
downloadlinux-39c9f80f43d754dadb2cd1adbc365840b5e99cca.tar.xz
linux-39c9f80f43d754dadb2cd1adbc365840b5e99cca.zip
Merge remote-tracking branch 'regulator/topic/isl6271a' into regulator-next
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/isl6271a-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/isl6271a-regulator.c b/drivers/regulator/isl6271a-regulator.c
index d1e5bee2a26b..b99c49b9aff0 100644
--- a/drivers/regulator/isl6271a-regulator.c
+++ b/drivers/regulator/isl6271a-regulator.c
@@ -130,7 +130,7 @@ static int isl6271a_probe(struct i2c_client *i2c,
if (i == 0)
config.init_data = init_data;
else
- config.init_data = 0;
+ config.init_data = NULL;
config.driver_data = pmic;
pmic->rdev[i] = regulator_register(&isl_rd[i], &config);