Commit 4c93ca5f authored by Sachin Kamat's avatar Sachin Kamat Committed by Dmitry Torokhov

Input: nspire-keypad - remove redundant of_match_ptr

The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 39116e26
...@@ -267,7 +267,7 @@ static struct platform_driver nspire_keypad_driver = { ...@@ -267,7 +267,7 @@ static struct platform_driver nspire_keypad_driver = {
.driver = { .driver = {
.name = "nspire-keypad", .name = "nspire-keypad",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.of_match_table = of_match_ptr(nspire_keypad_dt_match), .of_match_table = nspire_keypad_dt_match,
}, },
.probe = nspire_keypad_probe, .probe = nspire_keypad_probe,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment