From: Sachin Kamat Date: Sun, 6 Oct 2013 07:47:35 +0000 (-0700) Subject: Input: lpc32xx-keys - remove redundant of_match_ptr X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=39116e26eb27dc051977b27ef4b2e90cd4993f86;p=linux.git 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 Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/keyboard/lpc32xx-keys.c b/drivers/input/keyboard/lpc32xx-keys.c index 42181435fe675..8b1b01361ec6f 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, } };