Commit e52b045f authored by Christian 'Ansuel' Marangi's avatar Christian 'Ansuel' Marangi Committed by Chanwoo Choi

PM / devfreq: Mute warning on governor PROBE_DEFER

Don't print warning when a governor PROBE_DEFER as it's not a real
GOV_START fail.

Fixes: a03dacb0 ("PM / devfreq: Add cpu based scaling support to passive governor")
Signed-off-by: default avatarChristian 'Ansuel' Marangi <ansuelsmth@gmail.com>
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent 57e00b40
...@@ -932,8 +932,9 @@ struct devfreq *devfreq_add_device(struct device *dev, ...@@ -932,8 +932,9 @@ struct devfreq *devfreq_add_device(struct device *dev,
err = devfreq->governor->event_handler(devfreq, DEVFREQ_GOV_START, err = devfreq->governor->event_handler(devfreq, DEVFREQ_GOV_START,
NULL); NULL);
if (err) { if (err) {
dev_err(dev, "%s: Unable to start governor for the device\n", dev_err_probe(dev, err,
__func__); "%s: Unable to start governor for the device\n",
__func__);
goto err_init; goto err_init;
} }
create_sysfs_files(devfreq, devfreq->governor); create_sysfs_files(devfreq, devfreq->governor);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment