1 From eee9f767c41b03a2744d4b0f0c1a144e4ff41e78 Mon Sep 17 00:00:00 2001
2 From: Christian 'Ansuel' Marangi <ansuelsmth@gmail.com>
3 Date: Mon, 6 Jun 2022 13:01:02 +0200
4 Subject: [PATCH v4 4/4] PM / devfreq: Mute warning on governor PROBE_DEFER
6 Don't print warning when a governor PROBE_DEFER as it's not a real
9 Fixes: a03dacb0316f ("PM / devfreq: Add cpu based scaling support to passive governor")
10 Signed-off-by: Christian 'Ansuel' Marangi <ansuelsmth@gmail.com>
12 drivers/devfreq/devfreq.c | 5 +++--
13 1 file changed, 3 insertions(+), 2 deletions(-)
15 --- a/drivers/devfreq/devfreq.c
16 +++ b/drivers/devfreq/devfreq.c
17 @@ -931,8 +931,9 @@ struct devfreq *devfreq_add_device(struc
18 err = devfreq->governor->event_handler(devfreq, DEVFREQ_GOV_START,
21 - dev_err(dev, "%s: Unable to start governor for the device\n",
23 + dev_err_probe(dev, err,
24 + "%s: Unable to start governor for the device\n",
28 create_sysfs_files(devfreq, devfreq->governor);