Browse Source

regulator: tps65910: Don't use 0 as NULL

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown 13 years ago
parent
commit
74ea0e5992
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/regulator/tps65910-regulator.c

+ 1 - 1
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