]> www.infradead.org Git - users/dwmw2/linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Feb 2020 18:18:01 +0000 (18:18 +0000)
commitef1c4ec84f971ef7edca96f633df93db20699f04
tree0a6282437621404487f3bb96b013f6fe3cef5b8b
parent3efca0c1421c30849857aeb8a948902f33c460e6
PM / devfreq: Add new name attribute for sysfs

commit 2fee1a7cc6b1ce6634bb0f025be2c94a58dfa34d upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-class-devfreq
drivers/devfreq/devfreq.c