summaryrefslogtreecommitdiffstats
path: root/drivers/platform/Kconfig
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2015-01-23 09:01:10 -0500
committerDarren Hart <dvhart@linux.intel.com>2015-01-28 21:21:11 -0800
commited52ccbce7ffdde51f116e2cc9de00251f1ff7c5 (patch)
tree66acb1e2965a04d96f341ec84309e3e5669d63c5 /drivers/platform/Kconfig
parent32d0e4a33773ad68c582999a5b945cc47bb02809 (diff)
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 'drivers/platform/Kconfig')
0 files changed, 0 insertions, 0 deletions