diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-10-07 23:19:41 -0700 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-10-09 12:10:14 -0700 |
| commit | a502e4abdb9b437cc909f47ef5233011c68c292f (patch) | |
| tree | 66ac502b5cc402ceb8eb77d20567efe85afcdc3b /drivers/input/keyboard | |
| parent | fc50690069deafd527be8dc4ad6531543a2b8988 (diff) | |
Input: bcm-keypad - 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
bcm_kp_probe() is redundant. Remove it.
Assisted-by: LLM
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/keyboard')
| -rw-r--r-- | drivers/input/keyboard/bcm-keypad.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/keyboard/bcm-keypad.c b/drivers/input/keyboard/bcm-keypad.c index 6b46f83a9edb..f76cc6e7b787 100644 --- a/drivers/input/keyboard/bcm-keypad.c +++ b/drivers/input/keyboard/bcm-keypad.c @@ -327,7 +327,6 @@ static int bcm_kp_probe(struct platform_device *pdev) input_dev->name = pdev->name; input_dev->phys = "keypad/input0"; - input_dev->dev.parent = &pdev->dev; input_dev->open = bcm_kp_open; input_dev->close = bcm_kp_close; |
