summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-06 00:47:35 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-10-06 01:22:24 -0700
commit39116e26eb27dc051977b27ef4b2e90cd4993f86 (patch)
tree0d9de853c4e9745bcc40c947e5fbed3d21eef6ed /drivers/input
parent9a35c411f904a662d3a39edea406d95ead8acea6 (diff)
downloadlinux-39116e26eb27dc051977b27ef4b2e90cd4993f86.tar.gz
linux-39116e26eb27dc051977b27ef4b2e90cd4993f86.tar.bz2
linux-39116e26eb27dc051977b27ef4b2e90cd4993f86.zip
Input: lpc32xx-keys - 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')
-rw-r--r--drivers/input/keyboard/lpc32xx-keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/lpc32xx-keys.c b/drivers/input/keyboard/lpc32xx-keys.c
index 42181435fe67..8b1b01361ec6 100644
--- a/drivers/input/keyboard/lpc32xx-keys.c
+++ b/drivers/input/keyboard/lpc32xx-keys.c
@@ -383,7 +383,7 @@ static struct platform_driver lpc32xx_kscan_driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,
.pm = &lpc32xx_kscan_pm_ops,
- .of_match_table = of_match_ptr(lpc32xx_kscan_match),
+ .of_match_table = lpc32xx_kscan_match,
}
};