diff options
author | Fabio Estevam <festevam@gmail.com> | 2021-03-28 15:30:33 -0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-04-08 16:00:53 +0200 |
commit | f6b6db2dfd617522de702d85095d6d33e3b86e93 (patch) | |
tree | d373ae04f34f37b0ecb9f49a9a5acb1c27400269 /drivers/pinctrl/freescale/pinctrl-imx6sx.c | |
parent | 57c855f742c192a42fc4f37c8aff6ebebb61ae72 (diff) | |
download | lwn-f6b6db2dfd617522de702d85095d6d33e3b86e93.tar.gz lwn-f6b6db2dfd617522de702d85095d6d33e3b86e93.zip |
pinctrl: imx: Remove unneeded of_match_ptr()
i.MX is a DT-only platform, so of_match_ptr() can be safely
removed.
Remove the unneeded of_match_ptr().
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20210328183034.555702-1-festevam@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/freescale/pinctrl-imx6sx.c')
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-imx6sx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/freescale/pinctrl-imx6sx.c b/drivers/pinctrl/freescale/pinctrl-imx6sx.c index c7e2b1f94f01..594185745029 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx6sx.c +++ b/drivers/pinctrl/freescale/pinctrl-imx6sx.c @@ -382,7 +382,7 @@ static int imx6sx_pinctrl_probe(struct platform_device *pdev) static struct platform_driver imx6sx_pinctrl_driver = { .driver = { .name = "imx6sx-pinctrl", - .of_match_table = of_match_ptr(imx6sx_pinctrl_of_match), + .of_match_table = imx6sx_pinctrl_of_match, }, .probe = imx6sx_pinctrl_probe, }; |