From: Peng Fan Date: Mon, 14 Aug 2023 10:41:24 +0000 (+0800) Subject: genpd: imx: scu-pd: Suppress bind attrs X-Git-Tag: v6.6-rc1~134^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ec8b5619750eaced14bfe38ec53f760d7cead19f;p=thirdparty%2Fkernel%2Flinux.git genpd: imx: scu-pd: Suppress bind attrs This driver is registered as platform driver, but removing and binding again would cause system not workable. So suppress bind attrs. Signed-off-by: Peng Fan Signed-off-by: Ulf Hansson --- diff --git a/drivers/genpd/imx/scu-pd.c b/drivers/genpd/imx/scu-pd.c index d69da79d3130e..fa840ebe38c51 100644 --- a/drivers/genpd/imx/scu-pd.c +++ b/drivers/genpd/imx/scu-pd.c @@ -488,6 +488,7 @@ static struct platform_driver imx_sc_pd_driver = { .driver = { .name = "imx-scu-pd", .of_match_table = imx_sc_pd_match, + .suppress_bind_attrs = true, }, .probe = imx_sc_pd_probe, };