summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-15 20:04:33 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-18 12:12:21 +0200
commit74ea0e599215330e8964401508a5d7ec41ef15b0 (patch)
treeb01ad60838aa340739ff537a11b569517ca90afc
parentregulator: core: Change the unit of ramp_delay from mV/uS to uV/uS (diff)
downloadlinux-74ea0e599215330e8964401508a5d7ec41ef15b0.tar.xz
linux-74ea0e599215330e8964401508a5d7ec41ef15b0.zip
regulator: tps65910: Don't use 0 as NULL
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--drivers/regulator/tps65910-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/tps65910-regulator.c b/drivers/regulator/tps65910-regulator.c
index 6bf864b4bdf6..e1b01ec82301 100644
--- a/drivers/regulator/tps65910-regulator.c
+++ b/drivers/regulator/tps65910-regulator.c
@@ -1136,7 +1136,7 @@ static inline struct tps65910_board *tps65910_parse_dt_reg_data(
struct of_regulator_match **tps65910_reg_matches)
{
*tps65910_reg_matches = NULL;
- return 0;
+ return NULL;
}
#endif