HID: add a new helper to_hid_driver()
authorGeliang Tang <geliangtang@163.com>
Sun, 27 Dec 2015 09:25:22 +0000 (17:25 +0800)
committerJiri Kosina <jkosina@suse.cz>
Mon, 28 Dec 2015 12:41:50 +0000 (13:41 +0100)
commitba91a96718d17160890e161f702db6e60747248a
tree6af58c2933d66bbcf4bdb40445ccbe68d2029c95
parentee79a8f840a45d331bc33e55cbcc89bba417671c
HID: add a new helper to_hid_driver()

Add a new helper to_hid_driver() and use it in hid-core.c.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c
include/linux/hid.h