]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Input: sirfsoc-onkey - remove redundant of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Sun, 6 Oct 2013 07:51:28 +0000 (00:51 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 6 Oct 2013 08:22:25 +0000 (01:22 -0700)
The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/sirfsoc-onkey.c

index 0621c367049a3e8a0183af7f9d50611c3c0f3a11..7b8b03e0d0bef905cd793a158cfaba2f135eeb5f 100644 (file)
@@ -153,7 +153,7 @@ static struct platform_driver sirfsoc_pwrc_driver = {
                .name   = "sirfsoc-pwrc",
                .owner  = THIS_MODULE,
                .pm     = &sirfsoc_pwrc_pm_ops,
-               .of_match_table = of_match_ptr(sirfsoc_pwrc_of_match),
+               .of_match_table = sirfsoc_pwrc_of_match,
        }
 };