commit | b0c4b9c64e7ca4eaf39996429e98d97725d7098e | [log] [tgz] |
---|---|---|
author | Michał Kępień <kernel@kempniu.pl> | Tue Mar 14 11:26:28 2017 +0100 |
committer | Darren Hart (VMware) <dvhart@infradead.org> | Thu Mar 23 09:03:23 2017 -0700 |
tree | 4aa9ecb79511fde4e8914003a4b9e89e675f7f72 | |
parent | 78b2602fbb0e3fe33599ced64b74b73a681b1e56 [diff] |
platform/x86: fujitsu-laptop: simplify platform device attribute definitions Use the DEVICE_ATTR_RO() macro to get rid of ignore_store() and shorten attribute definitions. Adjust whitespace to make checkpatch happy. Signed-off-by: Michał Kępień <kernel@kempniu.pl> Tested-by: Jonathan Woithe <jwoithe@just42.net> Reviewed-by: Jonathan Woithe <jwoithe@just42.net> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>