summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-06 09:47:35 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-10-06 10:22:24 +0200
commit39116e26eb27dc051977b27ef4b2e90cd4993f86 (patch)
tree0d9de853c4e9745bcc40c947e5fbed3d21eef6ed /drivers
parentInput: wacom - add support for three new Intuos Pro devices (diff)
downloadlinux-39116e26eb27dc051977b27ef4b2e90cd4993f86.tar.xz
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')
-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,
}
};