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
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>
  • Loading branch information
Marco Felsch authored and Shawn Guo committed Aug 17, 2022
1 parent 568035b commit b64b46f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/soc/imx/imx8m-blk-ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b64b46f

Please sign in to comment.