diff options
author | David Lechner <david@lechnology.com> | 2017-05-16 00:21:15 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2017-06-08 14:05:27 +0300 |
commit | 105df60f207301631258c966d82d99f826508b41 (patch) | |
tree | a78c2aa2e0dbf22303c74412de68ce5657713346 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 71399aa5d68bb3ed8c4caf8bfd71faae39555876 (diff) | |
download | linux-105df60f207301631258c966d82d99f826508b41.tar.xz |
power: supply: sysfs: parse string as enum when writing property
This fixes the TODO to parse strings and convert them to enum values
when writing to a power_supply class property sysfs attribute.
There is at least one driver that has a writable enum property that
previously could only be written as an integer, so a fallback to writing
enums as integers instead of strings is provided so we don't break existing
userspace programs.
Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions