HID: use kobj_to_dev()
authorGeliang Tang <geliangtang@163.com>
Sun, 27 Dec 2015 09:25:24 +0000 (17:25 +0800)
committerJiri Kosina <jkosina@suse.cz>
Mon, 28 Dec 2015 12:41:51 +0000 (13:41 +0100)
commit2cf83833fc9cff04c50e402260b724b3f001d737
tree6e0d76a5c4ab8d408665bacd2699cb9cd304aefb
parentd98ba98c4fbff91abb37eef628ccce0c218b4185
HID: use kobj_to_dev()

Use kobj_to_dev() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c
drivers/hid/hid-roccat-arvo.c
drivers/hid/hid-roccat-common.c
drivers/hid/hid-roccat-isku.c
drivers/hid/hid-roccat-kone.c
drivers/hid/hid-roccat-koneplus.c
drivers/hid/hid-roccat-kovaplus.c
drivers/hid/hid-roccat-lua.c
drivers/hid/hid-roccat-pyra.c
drivers/hid/wacom_sys.c