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)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 31 Jan 2017 07:57:19 +0000 (16:57 +0900)
commit4585fbcb5331fc910b7e553ad3efd0dd7b320d14
treebeb477ac919f1a2911bd43681f310354bd0045a8
parent775fa8c3aa22df720f433e871f94cfb182f5913d
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