projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-4.5/for-jens' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git]
/
drivers
/
hid
/
hid-wiimote.h
diff --git
a/drivers/hid/hid-wiimote.h
b/drivers/hid/hid-wiimote.h
index
875694d
..
510ca77
100644
(file)
--- a/
drivers/hid/hid-wiimote.h
+++ b/
drivers/hid/hid-wiimote.h
@@
-256,8
+256,7
@@
enum wiiproto_reqs {
WIIPROTO_REQ_MAX
};
-#define dev_to_wii(pdev) hid_get_drvdata(container_of(pdev, struct hid_device, \
- dev))
+#define dev_to_wii(pdev) hid_get_drvdata(to_hid_device(pdev))
void __wiimote_schedule(struct wiimote_data *wdata);