summaryrefslogtreecommitdiff
path: root/drivers/soc/imx
diff options
context:
space:
mode:
authorMarco Felsch <m.felsch@pengutronix.de>2022-07-08 12:08:53 +0300
committerShawn Guo <shawnguo@kernel.org>2022-08-17 11:35:44 +0300
commitb64b46fbaa1da626324f304bcb5fe0662f28b6ce (patch)
treeef2d443f06d4b7213d88f7a02f4dc233daac4857 /drivers/soc/imx
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff)
downloadlinux-b64b46fbaa1da626324f304bcb5fe0662f28b6ce.tar.xz
Revert "soc: imx: imx8m-blk-ctrl: set power device name"
This reverts commit 8239d67f59cf522dd4f7135392a2f9a3a25f9cff. This change confuses the sysfs cleanup path since the rename is done after the device registration. Fixes: 8239d67f59cf ("soc: imx: imx8m-blk-ctrl: set power device name") Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Reviewed-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'drivers/soc/imx')
-rw-r--r--drivers/soc/imx/imx8m-blk-ctrl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/soc/imx/imx8m-blk-ctrl.c b/drivers/soc/imx/imx8m-blk-ctrl.c
index dff7529268e4..972f289d300a 100644
--- a/drivers/soc/imx/imx8m-blk-ctrl.c
+++ b/drivers/soc/imx/imx8m-blk-ctrl.c
@@ -243,7 +243,6 @@ static int imx8m_blk_ctrl_probe(struct platform_device *pdev)
ret = PTR_ERR(domain->power_dev);
goto cleanup_pds;
}
- dev_set_name(domain->power_dev, "%s", data->name);
domain->genpd.name = data->name;
domain->genpd.power_on = imx8m_blk_ctrl_power_on;