diff options
author | 2015-01-23 09:01:10 -0500 | |
---|---|---|
committer | 2015-01-28 21:21:11 -0800 | |
commit | ed52ccbce7ffdde51f116e2cc9de00251f1ff7c5 (patch) | |
tree | 66acb1e2965a04d96f341ec84309e3e5669d63c5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | intel_scu_ipc: Read resources from PCI configuration (diff) | |
download | wireguard-linux-ed52ccbce7ffdde51f116e2cc9de00251f1ff7c5.tar.xz wireguard-linux-ed52ccbce7ffdde51f116e2cc9de00251f1ff7c5.zip |
asus-laptop: use DEVICE_ATTR_xx macros
Use DEVICE_ATTR_{RO,WO,RW} macros to simplify sysfs attributes
declaration.
To declare a "foo" attribute, DEVICE_ATTR_RW() requires foo_show() and
foo_store(), so rename a few functions to satisfy this requirement.
Also put the macro below each related show/store functions for clarity.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions