]> 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)
commit53cc4bfd83cc7cbfaa73e16c262611e44c57b0c7
tree1c80f49c3f332842b2975efbe9200625ef95e9eb
parent6e74d4ca8dc3b1d3df22b3ac463c7780a93a9bbe
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