]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
PM / devfreq: Make log message more explicit when devfreq device already exists
authorMatthias Kaehlcke <mka@chromium.org>
Thu, 19 Sep 2019 00:09:46 +0000 (17:09 -0700)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 6 Nov 2019 03:03:59 +0000 (12:03 +0900)
commitdf4d7b1451bf51e75406b6339e964d816f8e947e
tree899b5c1d4c3bcf9c1519c207c5905bc20f36fdd4
parent3b7b37846ba69232343a2f2e7eb5f66aaa81c071
PM / devfreq: Make log message more explicit when devfreq device already exists

Before creating a new devfreq device devfreq_add_device() checks
if there is already a devfreq dev associated with the requesting
device (parent). If that's the case the function rejects to create
another devfreq dev for that parent and logs an error. The error
message is very unspecific, make it a bit more explicit.

Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/devfreq.c