commit | 3eb846e0d5ebc563d111ea825e55ea1b731b1a8b | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Sat Jan 02 03:09:16 2016 +0100 |
committer | Alex Shi <alex.shi@linaro.org> | Thu Nov 10 16:16:59 2016 +0800 |
tree | 0fcdc381eb22959e97eb6fe344444ed469270932 | |
parent | a584a909a96b66b9b43a1a628b96bca630d2589b [diff] |
PM / sleep: Add support for read-only sysfs attributes Some sysfs attributes in /sys/power/ should really be read-only, so add support for that, convert those attributes to read-only and drop the stub .show() routines from them. Original-by: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> (cherry picked from commit a1e9ca6967d68209c70e616a224efa89a6b86ca6) Signed-off-by: Alex Shi <alex.shi@linaro.org>