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)
commit483d557ee9a3df5f21db4e4485705b17ed1a9e1e
tree1c80f49c3f332842b2975efbe9200625ef95e9eb
parent4fc9a0470d2dc370289e9d883feb41e5dd2c6303
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