mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
Input: jornada720-ts - drop redundant input_dev->dev.parent assignment
devm_input_allocate_device() already initializes input_dev->dev.parent to the supplied parent device, so the explicit assignment in jornada720_ts_probe() is redundant. Remove it. Assisted-by: LLM Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
4404fbc8bf
commit
f63a1cac6d
|
|
@ -123,7 +123,6 @@ static int jornada720_ts_probe(struct platform_device *pdev)
|
|||
input_dev->name = "HP Jornada 7xx Touchscreen";
|
||||
input_dev->phys = "jornadats/input0";
|
||||
input_dev->id.bustype = BUS_HOST;
|
||||
input_dev->dev.parent = &pdev->dev;
|
||||
|
||||
input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS);
|
||||
input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user