HID: introduce helper for hid_driver boilerplate
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 17 Dec 2012 22:26:55 +0000 (15:26 -0700)
committerJiri Kosina <jkosina@suse.cz>
Thu, 3 Jan 2013 09:27:30 +0000 (10:27 +0100)
commit4d02c58eb1f19433cb852b2bde41c44849691614
tree6f55ec250be450aac2ef9ccbe250ea2f6bb991dd
parentfd62c5450324af7f6cc12897b09b77285cd48a92
HID: introduce helper for hid_driver boilerplate

Introduce the module_hid_driver macro which is a convenience macro
for HID driver modules similar to module_usb_driver. It is intended
to be used by drivers with init/exit sections that do nothing but
register/unregister the HID driver.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/hid.h