Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Input: samsung-keypad - do not set input device's parent explicitly

The driver uses devm_input_allocate_device() to allocate instances of
input device, which sets the parent appropriately. Remove extraneous
assignment.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240819045813.2154642-3-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

-1
-1
drivers/input/keyboard/samsung-keypad.c
··· 383 383 384 384 input_dev->name = pdev->name; 385 385 input_dev->id.bustype = BUS_HOST; 386 - input_dev->dev.parent = &pdev->dev; 387 386 388 387 input_dev->open = samsung_keypad_open; 389 388 input_dev->close = samsung_keypad_close;