]> git.karo-electronics.de Git - linux-beck.git/commit
HID: hid-lg4ff: use DEVICE_ATTR_RW macro
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Mon, 19 Jan 2015 07:03:26 +0000 (02:03 -0500)
committerJiri Kosina <jkosina@suse.cz>
Mon, 19 Jan 2015 12:58:47 +0000 (13:58 +0100)
commit2f1cec3250e38609bf9252db52dbbe61603c04a7
treede7e07c08660f1fa32aa423e259317a69508953d
parentfcf80e597c5182edbcbe8322f8e4dfbf5b5d5d64
HID: hid-lg4ff: use DEVICE_ATTR_RW macro

Use the DEVICE_ATTR_RW macro to reduce boiler plate and move the
attribute declaration to get rid of function signatures.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lg4ff.c