diff options
-rw-r--r-- | drivers/base/power/opp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/opp.c b/drivers/base/power/opp.c index 5cc12322ef32..b23de185cb04 100644 --- a/drivers/base/power/opp.c +++ b/drivers/base/power/opp.c | |||
@@ -453,7 +453,7 @@ int opp_add(struct device *dev, unsigned long freq, unsigned long u_volt) | |||
453 | static int opp_set_availability(struct device *dev, unsigned long freq, | 453 | static int opp_set_availability(struct device *dev, unsigned long freq, |
454 | bool availability_req) | 454 | bool availability_req) |
455 | { | 455 | { |
456 | struct device_opp *tmp_dev_opp, *dev_opp = NULL; | 456 | struct device_opp *tmp_dev_opp, *dev_opp = ERR_PTR(-ENODEV); |
457 | struct opp *new_opp, *tmp_opp, *opp = ERR_PTR(-ENODEV); | 457 | struct opp *new_opp, *tmp_opp, *opp = ERR_PTR(-ENODEV); |
458 | int r = 0; | 458 | int r = 0; |
459 | 459 | ||