HID: wiimote: use dev_to_wii()
authorGeliang Tang <geliangtang@163.com>
Sun, 27 Dec 2015 09:25:23 +0000 (17:25 +0800)
committerJiri Kosina <jkosina@suse.cz>
Mon, 28 Dec 2015 12:41:51 +0000 (13:41 +0100)
commitd98ba98c4fbff91abb37eef628ccce0c218b4185
tree225e45162b3c8e49428be9ffec9e25fddaa35098
parentba91a96718d17160890e161f702db6e60747248a
HID: wiimote: use dev_to_wii()

Use dev_to_wii() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-wiimote-modules.c