pinctrl: imx: Drop .remove callback for SCU variant

The return callback for SCU variant of the pinctrl drivers does
nothing but returns 0. Remove the return callback from the SCU
driver itself, that has the same effect. No functional change.

Signed-off-by: Marek Vasut <marex@denx.de>
This commit is contained in:
Marek Vasut
2025-01-24 15:50:52 +01:00
committed by Fabio Estevam
parent a8f628040d
commit 106cc434e0
2 changed files with 0 additions and 4 deletions

View File

@@ -256,9 +256,6 @@ int imx_pinctrl_remove(struct udevice *dev)
struct imx_pinctrl_priv *priv = dev_get_priv(dev);
struct imx_pinctrl_soc_info *info = priv->info;
if (info->flags & IMX8_USE_SCU)
return 0;
if (info->input_sel_base)
unmap_sysmem(info->input_sel_base);
if (info->base)

View File

@@ -38,7 +38,6 @@ U_BOOT_DRIVER(imx8_pinctrl) = {
.id = UCLASS_PINCTRL,
.of_match = of_match_ptr(imx8_pinctrl_match),
.probe = imx8_pinctrl_probe,
.remove = imx_pinctrl_remove,
.priv_auto = sizeof(struct imx_pinctrl_priv),
.ops = &imx8_pinctrl_ops,
.flags = DM_FLAG_PRE_RELOC,