]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
genpd: imx: scu-pd: Suppress bind attrs
authorPeng Fan <peng.fan@nxp.com>
Mon, 14 Aug 2023 10:41:24 +0000 (18:41 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 17 Aug 2023 09:33:54 +0000 (11:33 +0200)
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 <peng.fan@nxp.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/genpd/imx/scu-pd.c

index d69da79d3130e52612d166a06ab21dcb9b4faf59..fa840ebe38c5148acea77f296a95cc71e26309dc 100644 (file)
@@ -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,
 };