From 8a83ecd8ec6ce8c1c15e00a8ae3ebc71107ef044 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Sun, 28 Mar 2021 15:30:34 -0300 Subject: 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 Link: https://lore.kernel.org/r/20210328183034.555702-2-festevam@gmail.com Signed-off-by: Linus Walleij --- drivers/pinctrl/freescale/pinctrl-imx50.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/pinctrl/freescale/pinctrl-imx50.c') 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, }; -- cgit v1.2.3