]> git.baikalelectronics.ru Git - kernel.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)
commit4d37970ca61a83f8bbe925e82745832a1b61aff4
treede7e07c08660f1fa32aa423e259317a69508953d
parent280a73b03de047ba28ac6c383f037ba06b61a2fe
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