Input: da9063_onkey - avoid explicitly setting input's parent
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 21 Dec 2023 03:09:45 +0000 (19:09 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 4 Jan 2024 20:02:20 +0000 (12:02 -0800)
commit0c64117d112b35dc3ba2020108ec26f538b95ae6
tree85097b33676b32a3dd215bfb766edd86905fead2
parentec4fcc6b6a63585af8897b49d9aae92af994505d
Input: da9063_onkey - avoid explicitly setting input's parent

devm_input_allocate_device() already sets parent of the new input
device, there's no need to set it up explicitly.

Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/ZYOseYfVgg0Ve6Zl@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/da9063_onkey.c