From: Claudiu Beznea Date: Sat, 15 Feb 2025 13:12:35 +0000 (+0200) Subject: pinctrl: renesas: rzg2l: Suppress binding attributes X-Git-Tag: v6.15-rc1~106^2~49^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ea4065345643f3163e812e58ed8add2c75c3ee46;p=thirdparty%2Fkernel%2Flinux.git pinctrl: renesas: rzg2l: Suppress binding attributes Suppress binding attributes for the rzg2l pinctrl driver, as it is an essential block for Renesas SoCs. Unbinding the driver leads to warnings from __device_links_no_driver() and can eventually render the system inaccessible. Fixes: c4c4637eb57f ("pinctrl: renesas: Add RZ/G2L pin and gpio controller driver") Signed-off-by: Claudiu Beznea Reviewed-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven Link: https://lore.kernel.org/20250215131235.228274-1-claudiu.beznea.uj@bp.renesas.com Signed-off-by: Geert Uytterhoeven --- diff --git a/drivers/pinctrl/renesas/pinctrl-rzg2l.c b/drivers/pinctrl/renesas/pinctrl-rzg2l.c index 298e1aa89c8f0..9280bc37a6232 100644 --- a/drivers/pinctrl/renesas/pinctrl-rzg2l.c +++ b/drivers/pinctrl/renesas/pinctrl-rzg2l.c @@ -3403,6 +3403,7 @@ static struct platform_driver rzg2l_pinctrl_driver = { .name = DRV_NAME, .of_match_table = of_match_ptr(rzg2l_pinctrl_of_table), .pm = pm_sleep_ptr(&rzg2l_pinctrl_pm_ops), + .suppress_bind_attrs = true, }, .probe = rzg2l_pinctrl_probe, };