Skip to content

Commit f74e7b0

Browse files
author
Alex Shi
committed
Merge branch 'v4.4/topic/OPPv2' into linux-linaro-lsk-v4.4
2 parents 512fb0a + f03ec87 commit f74e7b0

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

drivers/base/power/opp/core.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,6 @@ unsigned long dev_pm_opp_get_max_volt_latency(struct device *dev)
259259
reg = opp_table->regulator;
260260
if (IS_ERR(reg)) {
261261
/* Regulator may not be required for device */
262-
if (reg)
263-
dev_err(dev, "%s: Invalid regulator (%ld)\n", __func__,
264-
PTR_ERR(reg));
265262
rcu_read_unlock();
266263
return 0;
267264
}

0 commit comments

Comments
 (0)