diff options
author | Fabio Estevam <festevam@gmail.com> | 2021-03-28 20:30:34 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-04-08 16:00:53 +0200 |
commit | 8a83ecd8ec6ce8c1c15e00a8ae3ebc71107ef044 (patch) | |
tree | d45a2af7b2a09c0e28c7d1d8e1834467f76cd4e7 /drivers/pinctrl/freescale/pinctrl-imx35.c | |
parent | pinctrl: imx: Remove unneeded of_match_ptr() (diff) | |
download | linux-8a83ecd8ec6ce8c1c15e00a8ae3ebc71107ef044.tar.xz linux-8a83ecd8ec6ce8c1c15e00a8ae3ebc71107ef044.zip |
pinctrl: imx: Disallow driver unbind
Performing the 'unbind' operation on pinctrl drivers is
not a sensible usecase, so pass the suppress_bind_attrs
atribute to prevent it.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20210328183034.555702-2-festevam@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/freescale/pinctrl-imx35.c')
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-imx35.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/freescale/pinctrl-imx35.c b/drivers/pinctrl/freescale/pinctrl-imx35.c index 871bb419e2f0..c8671ad5214c 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx35.c +++ b/drivers/pinctrl/freescale/pinctrl-imx35.c @@ -1014,6 +1014,7 @@ static struct platform_driver imx35_pinctrl_driver = { .driver = { .name = "imx35-pinctrl", .of_match_table = imx35_pinctrl_of_match, + .suppress_bind_attrs = true, }, .probe = imx35_pinctrl_probe, }; |