Input: axp20x-pek - drop redundant idev->dev.parent assignment
Subsystems (3)
Dmitry Torokhov
maintainerPATCH 1/1 Input: axp20x-pek - drop redundant idev->dev.parent assignment
devm_input_allocate_device() already initializes idev->dev.parent to the supplied parent device, so the explicit assignment in axp20x_pek_probe_input_device() is redundant. Remove it.
--- drivers/input/misc/axp20x-pek.c | 1 - 1 file changed, 1 deletion(-)
drivers/input/misc/axp20x-pek.c +0 -1
@@ -241,7 +241,6 @@ static int axp20x_pek_probe_input_device(struct axp20x_pek *axp20x_pek, idev->name ="axp20x-pek" ; idev->phys ="m1kbd/input2" ; - idev->dev.parent = &pdev->dev;input_set_capability (idev,EV_KEY ,KEY_POWER );
Signature · 5 lines
2.56.0.385.gd3acb90ef8-goog -- Dmitry