HID: move to_hid_device() to hid.h
authorGeliang Tang <geliangtang@163.com>
Sun, 27 Dec 2015 09:25:20 +0000 (17:25 +0800)
committerJiri Kosina <jkosina@suse.cz>
Mon, 28 Dec 2015 12:41:11 +0000 (13:41 +0100)
commitd8ce9bf5551bfea431893bdd0a943f24a5170828
tree5f36d4a6899cde40bdeac14ae5eaa6c046660c03
parent0b1804e3d6ee820303cd07fd5b9579db6110840b
HID: move to_hid_device() to hid.h

to_hid_device() macro is defined in both hid-lg4ff.c and
hid-logitech-hidpp.c. So I move it to include/linux/hid.h.

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