From: Vivien Didelot Date: Fri, 23 Jan 2015 14:01:10 +0000 (-0500) Subject: asus-laptop: use DEVICE_ATTR_xx macros X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~38^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed52ccbce7ffdde51f116e2cc9de00251f1ff7c5;p=pandora-kernel.git 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 Signed-off-by: Darren Hart --- Reading git-diff-tree failed