• Chanwoo Choi's avatar
    PM / devfreq: Add new name attribute for sysfs · 2fee1a7c
    Chanwoo Choi authored
    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>
    2fee1a7c
devfreq.c 47.3 KB