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

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>

authored by

Ruan Jinjie and committed by
Dmitry Torokhov
8109e032 8bafa2f2

+1 -1
+1 -1
drivers/input/keyboard/bcm-keypad.c
··· 418 418 .probe = bcm_kp_probe, 419 419 .driver = { 420 420 .name = "bcm-keypad", 421 - .of_match_table = of_match_ptr(bcm_kp_of_match), 421 + .of_match_table = bcm_kp_of_match, 422 422 } 423 423 }; 424 424