Skip to content

Commit

Permalink
Revert "soc: imx: imx8m-blk-ctrl: set power device name"
Browse files Browse the repository at this point in the history
[ Upstream commit b64b46f ]

This reverts commit 8239d67.

This change confuses the sysfs cleanup path since the rename is done
after the device registration.

Fixes: 8239d67 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
Marco Felsch authored and gregkh committed Sep 15, 2022
1 parent cd1e3f9 commit 9383a11
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/soc/imx/imx8m-blk-ctrl.c
Expand Up @@ -242,7 +242,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;
Expand Down

0 comments on commit 9383a11

Please sign in to comment.