mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
This commit is contained in:
committed by
Dmitry Torokhov
parent
8bafa2f2ea
commit
8109e032cf
@@ -418,7 +418,7 @@ static struct platform_driver bcm_kp_device_driver = {
|
||||
.probe = bcm_kp_probe,
|
||||
.driver = {
|
||||
.name = "bcm-keypad",
|
||||
.of_match_table = of_match_ptr(bcm_kp_of_match),
|
||||
.of_match_table = bcm_kp_of_match,
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user