diff options
| -rw-r--r-- | drivers/regulator/da9063-regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/da9063-regulator.c b/drivers/regulator/da9063-regulator.c index 1a7816390773..b9f2653e4ef9 100644 --- a/drivers/regulator/da9063-regulator.c +++ b/drivers/regulator/da9063-regulator.c | |||
| @@ -709,7 +709,7 @@ static struct da9063_regulators_pdata *da9063_parse_regulators_dt( | |||
| 709 | struct of_regulator_match **da9063_reg_matches) | 709 | struct of_regulator_match **da9063_reg_matches) |
| 710 | { | 710 | { |
| 711 | da9063_reg_matches = NULL; | 711 | da9063_reg_matches = NULL; |
| 712 | return PTR_ERR(-ENODEV); | 712 | return ERR_PTR(-ENODEV); |
| 713 | } | 713 | } |
| 714 | #endif | 714 | #endif |
| 715 | 715 | ||
