Skip to content

Commit 8109e03

Browse files
Ruan Jinjiedtor
authored andcommitted
Input: bcm-keypad - remove redundant of_match_ptr()
The driver depends on CONFIG_OF, it is not necessary to use of_match_ptr() here. Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com> Link: https://lore.kernel.org/r/20230809101626.2664651-1-ruanjinjie@huawei.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 8bafa2f commit 8109e03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/input/keyboard/bcm-keypad.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ static struct platform_driver bcm_kp_device_driver = {
418418
.probe = bcm_kp_probe,
419419
.driver = {
420420
.name = "bcm-keypad",
421-
.of_match_table = of_match_ptr(bcm_kp_of_match),
421+
.of_match_table = bcm_kp_of_match,
422422
}
423423
};
424424

0 commit comments

Comments
 (0)