summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/freescale/pinctrl-imx6q.c
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2021-03-28 15:30:34 -0300
committerLinus Walleij <linus.walleij@linaro.org>2021-04-08 16:00:53 +0200
commit8a83ecd8ec6ce8c1c15e00a8ae3ebc71107ef044 (patch)
treed45a2af7b2a09c0e28c7d1d8e1834467f76cd4e7 /drivers/pinctrl/freescale/pinctrl-imx6q.c
parentf6b6db2dfd617522de702d85095d6d33e3b86e93 (diff)
downloadlwn-8a83ecd8ec6ce8c1c15e00a8ae3ebc71107ef044.tar.gz
lwn-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-imx6q.c')
-rw-r--r--drivers/pinctrl/freescale/pinctrl-imx6q.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/freescale/pinctrl-imx6q.c b/drivers/pinctrl/freescale/pinctrl-imx6q.c
index 078ed6a331fd..a7507def26a9 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx6q.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx6q.c
@@ -475,6 +475,7 @@ static struct platform_driver imx6q_pinctrl_driver = {
.driver = {
.name = "imx6q-pinctrl",
.of_match_table = imx6q_pinctrl_of_match,
+ .suppress_bind_attrs = true,
},
.probe = imx6q_pinctrl_probe,
};