cpuidle: sysfs: Remove sysfs_switch and switch attributes
authorHanjun Guo <guohanjun@huawei.com>
Tue, 19 May 2020 06:25:23 +0000 (14:25 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 19 May 2020 15:41:17 +0000 (17:41 +0200)
commitcce55cc902baa3e6b6bab5f72f3ce826cb8dc9a9
tree3fc6dbcc8a923eb6f85ea5809f1692736ca9e31d
parentb52e93e4e86c600492f977badad3c9e0f0303cb2
cpuidle: sysfs: Remove sysfs_switch and switch attributes

Since the cpuidle governor can be switched via sysfs in default,
remove sysfs_switch and cpuidle_switch_attrs.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
Reviewed-by: Doug Smythies <dsmythies@telus.net>
Tested-by: Doug Smythies <dsmythies@telus.net>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/sysfs.c