PM / devfreq: Modify the device name as devfreq(X) for sysfs
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 31 Jan 2017 07:47:57 +0000 (16:47 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 4 Sep 2017 05:33:32 +0000 (14:33 +0900)
commit4c1ebfa385bc45161f26c0e278a1a731e96dcd9d
treed12637fd2974d51aa00c28122ad116777aa20bf1
parentc7081a098d11323069fb75d57ddddb9327cb2077
PM / devfreq: Modify the device name as devfreq(X) for sysfs

This patch modifies the device name as devfreq(X) for sysfs by using the 'devfreq'
prefix word instead of separate device name. On user-space aspect, user would
find the some devfreq drvier with 'devfreq(X)' pattern. So, this patch modify the
device name as following:
- /sys/class/devfreq/[non-standard device name] -> /sys/class/devfreq/devfreq(X)

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