git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
HID: switch to using input_dev->dev.parent
[safe/jmp/linux-2.6]
/
drivers
/
hid
/
usbhid
/
hid-tmff.c
diff --git
a/drivers/hid/usbhid/hid-tmff.c
b/drivers/hid/usbhid/hid-tmff.c
index
ab67331
..
ab5ba6e
100644
(file)
--- a/
drivers/hid/usbhid/hid-tmff.c
+++ b/
drivers/hid/usbhid/hid-tmff.c
@@
-59,7
+59,7
@@
static inline int hid_tmff_scale(unsigned int in, int minimum, int maximum)
static int hid_tmff_play(struct input_dev *dev, void *data, struct ff_effect *effect)
{
- struct hid_device *hid =
dev->private
;
+ struct hid_device *hid =
input_get_drvdata(dev)
;
struct tmff_device *tmff = data;
int left, right; /* Rumbling */