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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user