PM / devfreq: Add new name attribute for sysfs
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 5 Nov 2019 09:18:03 +0000 (18:18 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 30 Dec 2019 00:59:05 +0000 (09:59 +0900)
commit2fee1a7cc6b1ce6634bb0f025be2c94a58dfa34d
treed653bb2d72754dcae244a6a88463cfc25ff539d9
parent5af744ebae856a50e8b5e208a5acf28713a4ce98
PM / devfreq: Add new name attribute for sysfs

The commit 4585fbcb5331 ("PM / devfreq: Modify the device name as devfreq(X) for
sysfs") changed the node name to devfreq(x). After this commit, it is not
possible to get the device name through /sys/class/devfreq/devfreq(X)/*.

Add new name attribute in order to get device name.

Cc: stable@vger.kernel.org
Fixes: 4585fbcb5331 ("PM / devfreq: Modify the device name as devfreq(X) for sysfs")
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Documentation/ABI/testing/sysfs-class-devfreq
drivers/devfreq/devfreq.c