diff options
author | Fabio Estevam <festevam@gmail.com> | 2021-03-28 20:30:33 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-04-08 16:00:53 +0200 |
commit | f6b6db2dfd617522de702d85095d6d33e3b86e93 (patch) | |
tree | d373ae04f34f37b0ecb9f49a9a5acb1c27400269 /drivers/pinctrl/freescale/pinctrl-imx8mm.c | |
parent | pinctrl: ti: fix error return code of ti_iodelay_dt_node_to_map() (diff) | |
download | linux-f6b6db2dfd617522de702d85095d6d33e3b86e93.tar.xz linux-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-imx8mm.c')
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-imx8mm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/freescale/pinctrl-imx8mm.c b/drivers/pinctrl/freescale/pinctrl-imx8mm.c index 31c5d8861406..39dc73281ce6 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx8mm.c +++ b/drivers/pinctrl/freescale/pinctrl-imx8mm.c @@ -337,7 +337,7 @@ static int imx8mm_pinctrl_probe(struct platform_device *pdev) static struct platform_driver imx8mm_pinctrl_driver = { .driver = { .name = "imx8mm-pinctrl", - .of_match_table = of_match_ptr(imx8mm_pinctrl_of_match), + .of_match_table = imx8mm_pinctrl_of_match, .suppress_bind_attrs = true, }, .probe = imx8mm_pinctrl_probe, |