Skip to contentSkip to conversation

regulator: tps65910: Don't use 0 as NULL

PATCH New Mark Brown 1 participant 1 message Jun 15, 2012

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 regulator: tps65910: Don't use 0 as NULL

---
 drivers/regulator/tps65910-regulator.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/regulator/tps65910-regulator.c +1 -1
index 6bf864b..e1b01ec 100644
@@ -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
 
Signature · 1 line
1.7.10