From: Sachin Kamat Date: Sun, 6 Oct 2013 07:47:35 +0000 (-0700) Subject: Input: lpc32xx-keys - remove redundant of_match_ptr X-Git-Tag: Ubuntu-5.2.0-15.16~9578^2~775 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=39116e26eb27dc051977b27ef4b2e90cd4993f86;p=mirror_ubuntu-eoan-kernel.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 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, } };