summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/freescale/pinctrl-imx8mp.c
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2021-03-28 21:30:33 +0300
committerLinus Walleij <linus.walleij@linaro.org>2021-04-08 17:00:53 +0300
commitf6b6db2dfd617522de702d85095d6d33e3b86e93 (patch)
treed373ae04f34f37b0ecb9f49a9a5acb1c27400269 /drivers/pinctrl/freescale/pinctrl-imx8mp.c
parent57c855f742c192a42fc4f37c8aff6ebebb61ae72 (diff)
downloadlinux-f6b6db2dfd617522de702d85095d6d33e3b86e93.tar.xz
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-imx8mp.c')
-rw-r--r--drivers/pinctrl/freescale/pinctrl-imx8mp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/freescale/pinctrl-imx8mp.c b/drivers/pinctrl/freescale/pinctrl-imx8mp.c
index bf4bbb5e2446..0cacf5ba162c 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx8mp.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx8mp.c
@@ -335,7 +335,7 @@ static int imx8mp_pinctrl_probe(struct platform_device *pdev)
static struct platform_driver imx8mp_pinctrl_driver = {
.driver = {
.name = "imx8mp-pinctrl",
- .of_match_table = of_match_ptr(imx8mp_pinctrl_of_match),
+ .of_match_table = imx8mp_pinctrl_of_match,
},
.probe = imx8mp_pinctrl_probe,
};