Input: touchscreens - switch to using input_dev->dev.parent

In preparation for struct class_device -> struct device input
core conversion, switch to using input_dev->dev.parent when
specifying device position in sysfs tree.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
Dmitry Torokhov
2007-04-12 01:35:14 -04:00
parent 28aa7f1c81
commit a5394fb075
10 changed files with 10 additions and 6 deletions

View File

@@ -509,7 +509,7 @@ static int ucb1400_ts_probe(struct device *dev)
input_set_drvdata(idev, ucb);
idev->cdev.dev = dev;
idev->dev.parent = dev;
idev->name = "UCB1400 touchscreen interface";
idev->id.vendor = ucb1400_reg_read(ucb, AC97_VENDOR_ID1);
idev->id.product = id;