Skip to content

Commit 21b84eb

Browse files
lynxeye-devShawn Guo
authored andcommitted
soc: imx: imx8mp-blk-ctrl: don't set power device name
Setting the device name after it has been registered confuses the sysfs cleanup paths. This has already been fixed for the imx8m-blk-ctrl driver in b64b46f ("Revert "soc: imx: imx8m-blk-ctrl: set power device name""), but the same problem exists in imx8mp-blk-ctrl. Fixes: 556f5cf ("soc: imx: add i.MX8MP HSIO blk-ctrl") Signed-off-by: Lucas Stach <[email protected]> Reviewed-by: Peng Fan <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent c10a585 commit 21b84eb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/soc/imx/imx8mp-blk-ctrl.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,6 @@ static int imx8mp_blk_ctrl_probe(struct platform_device *pdev)
592592
ret = PTR_ERR(domain->power_dev);
593593
goto cleanup_pds;
594594
}
595-
dev_set_name(domain->power_dev, "%s", data->name);
596595

597596
domain->genpd.name = data->name;
598597
domain->genpd.power_on = imx8mp_blk_ctrl_power_on;

0 commit comments

Comments
 (0)