]> git.baikalelectronics.ru Git - kernel.git/commit
PM / devfreq: Clean up the devfreq instance name in sysfs attr
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 13 Jul 2020 08:31:12 +0000 (17:31 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 30 Jul 2020 08:22:57 +0000 (17:22 +0900)
commit33d2d293c8b46653501964e2ad2dc2564e6f7e27
tree1c80f49c3f332842b2975efbe9200625ef95e9eb
parent1aed5c7f7d60ed51d22d49d5890fb9a30f0bd626
PM / devfreq: Clean up the devfreq instance name in sysfs attr

The sysfs attr interface used eithere 'df' or 'devfreq' for devfreq instance
name. In order to keep the consistency and to improve the readabilty,
unify the instance name as 'df'. Add add the missing conditional statement
to prevent the fault.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/devfreq.c