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)
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

Simple merge