HID: use to_hid_device()
authorGeliang Tang <geliangtang@163.com>
Sun, 27 Dec 2015 09:25:21 +0000 (17:25 +0800)
committerJiri Kosina <jkosina@suse.cz>
Mon, 28 Dec 2015 12:41:44 +0000 (13:41 +0100)
commitee79a8f840a45d331bc33e55cbcc89bba417671c
tree9dc3d0fd485715c63999d0aaf339c2a7d26dce3f
parentd8ce9bf5551bfea431893bdd0a943f24a5170828
HID: use to_hid_device()

Use to_hid_device() instead of container_of().

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
13 files changed:
drivers/hid/hid-core.c
drivers/hid/hid-cp2112.c
drivers/hid/hid-gt683r.c
drivers/hid/hid-lenovo.c
drivers/hid/hid-lg4ff.c
drivers/hid/hid-multitouch.c
drivers/hid/hid-ntrig.c
drivers/hid/hid-picolcd_leds.c
drivers/hid/hid-prodikeys.c
drivers/hid/hid-sony.c
drivers/hid/hid-steelseries.c
drivers/hid/hid-wiimote.h
drivers/hid/wacom_sys.c