regulator: tps65910: Don't use 0 as NULL
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 15 Jun 2012 18:04:33 +0000 (19:04 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 18 Jun 2012 10:12:21 +0000 (11:12 +0100)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/tps65910-regulator.c

index 6bf864b4bdf67e8ddd860ed16fe0e7248e65318b..e1b01ec82301a0b4ce5f7bcdccbb14f235fca596 100644 (file)
@@ -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