projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'v4.5-rc1' into patchwork
[deliverable/linux.git]
/
drivers
/
hid
/
hid-wiimote.h
diff --git
a/drivers/hid/hid-wiimote.h
b/drivers/hid/hid-wiimote.h
index 875694d43e4d9249ccc84e7e447d619fb0ba22d0..510ca77fe14e113a4cc22ec65a96f6e66d2899c1 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);
This page took
0.024518 seconds
and
5
git commands to generate.