Skip to content
Commit c338fb0c authored by Chanwoo Choi's avatar Chanwoo Choi Committed by Paul Gortmaker
Browse files

PM / devfreq: Add new name attribute for sysfs



commit 2fee1a7c upstream.

The commit 4585fbcb ("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: 4585fbcb ("PM / devfreq: Modify the device name as devfreq(X) for sysfs")
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 94eb9616
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment