aboutsummaryrefslogtreecommitdiff
path: root/drivers/pinctrl/freescale/pinctrl-imx50.c
diff options
context:
space:
mode:
authorFabio Estevam2021-03-28 15:30:34 -0300
committerLinus Walleij2021-04-08 16:00:53 +0200
commit8a83ecd8ec6ce8c1c15e00a8ae3ebc71107ef044 (patch)
treed45a2af7b2a09c0e28c7d1d8e1834467f76cd4e7 /drivers/pinctrl/freescale/pinctrl-imx50.c
parentf6b6db2dfd617522de702d85095d6d33e3b86e93 (diff)
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-imx50.c')
-rw-r--r--drivers/pinctrl/freescale/pinctrl-imx50.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/freescale/pinctrl-imx50.c b/drivers/pinctrl/freescale/pinctrl-imx50.c
index 7069a2fcd10a..a245b4011c00 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx50.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx50.c
@@ -400,6 +400,7 @@ static struct platform_driver imx50_pinctrl_driver = {
.driver = {
.name = "imx50-pinctrl",
.of_match_table = imx50_pinctrl_of_match,
+ .suppress_bind_attrs = true,
},
.probe = imx50_pinctrl_probe,
};