Commit b64b46fb authored by Marco Felsch's avatar Marco Felsch Committed by Shawn Guo

Revert "soc: imx: imx8m-blk-ctrl: set power device name"

This reverts commit 8239d67f.

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

Fixes: 8239d67f ("soc: imx: imx8m-blk-ctrl: set power device name")
Signed-off-by: default avatarMarco Felsch <m.felsch@pengutronix.de>
Reviewed-by: default avatarLucas Stach <l.stach@pengutronix.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 568035b0
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment