Browse Source

Merge remote-tracking branch 'regulator/fix/da9063' into regulator-linus

Mark Brown 11 years ago
parent
commit
e7b87825e8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/regulator/da9063-regulator.c

+ 1 - 1
drivers/regulator/da9063-regulator.c

@@ -709,7 +709,7 @@ static struct da9063_regulators_pdata *da9063_parse_regulators_dt(
 		struct of_regulator_match **da9063_reg_matches)
 {
 	da9063_reg_matches = NULL;
-	return PTR_ERR(-ENODEV);
+	return ERR_PTR(-ENODEV);
 }
 #endif