diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-06 11:51:28 +0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-10-06 12:22:25 +0400 |
commit | dee964c0b82230c6fc291514b925f030e6f72a4c (patch) | |
tree | 7383b53de038b842ae89be415fde82bdc6c93f27 /drivers/input/misc/sirfsoc-onkey.c | |
parent | 3cbd04f856467d8e3b2cb15194508f38c507047a (diff) | |
download | linux-dee964c0b82230c6fc291514b925f030e6f72a4c.tar.xz |
Input: sirfsoc-onkey - 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: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc/sirfsoc-onkey.c')
-rw-r--r-- | drivers/input/misc/sirfsoc-onkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/sirfsoc-onkey.c b/drivers/input/misc/sirfsoc-onkey.c index 0621c367049a..7b8b03e0d0be 100644 --- a/drivers/input/misc/sirfsoc-onkey.c +++ b/drivers/input/misc/sirfsoc-onkey.c @@ -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, } }; |