]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "PM / devfreq: Modify the device name as devfreq(X) for sysfs"
authorOrson Zhai <orson.unisoc@gmail.com>
Thu, 20 Feb 2020 17:37:04 +0000 (01:37 +0800)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 24 Feb 2020 02:14:29 +0000 (11:14 +0900)
commit65a6cddf0afe551eb1d82a0643a4565a0e6a072c
treed8e76c0c64f92487d7fcb54da2fb08fcb1bc8a11
parent218d2ac1a4bfbb8ed3c4e9a719c4de27a9bf80db
Revert "PM / devfreq: Modify the device name as devfreq(X) for sysfs"

This reverts commit dab6f77ca697c01ffa8a4eb1cba703d38a589983.

The name changing as devfreq(X) breaks some user space applications,
such as Android HAL from Unisoc and Hikey [1].
The device name will be changed unexpectly after every boot depending
on module init sequence. It will make trouble to setup some system
configuration like selinux for Android.

So we'd like to revert it back to old naming rule before any better
way being found.

[1] https://lkml.org/lkml/2018/5/8/1042

Cc: John Stultz <john.stultz@linaro.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: stable@vger.kernel.org
Signed-off-by: Orson Zhai <orson.unisoc@gmail.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/devfreq.c