pinctrl: imx: Rename imx_pinctrl_remove() to imx_pinctrl_remove_mmio()

The current implementation of imx_pinctrl_remove() is specific
to the MMIO accessor implementation, rename the function to
imx_pinctrl_remove_mmio() to make this obvious. No functional
change.

Signed-off-by: Marek Vasut <marex@denx.de>
This commit is contained in:
Marek Vasut
2025-01-24 15:50:55 +01:00
committed by Fabio Estevam
parent 7ddd6d3c21
commit ecd087dffe
11 changed files with 11 additions and 11 deletions

View File

@@ -262,7 +262,7 @@ int imx_pinctrl_probe_mmio(struct udevice *dev)
return 0;
}
int imx_pinctrl_remove(struct udevice *dev)
int imx_pinctrl_remove_mmio(struct udevice *dev)
{
struct imx_pinctrl_priv *priv = dev_get_priv(dev);
struct imx_pinctrl_soc_info *info = priv->info;

View File

@@ -51,7 +51,7 @@ struct imx_pinctrl_priv {
int imx_pinctrl_probe_common(struct udevice *dev);
int imx_pinctrl_probe_mmio(struct udevice *dev);
int imx_pinctrl_remove(struct udevice *dev);
int imx_pinctrl_remove_mmio(struct udevice *dev);
int imx_pinctrl_set_state(struct udevice *dev, struct udevice *config);

View File

@@ -32,7 +32,7 @@ U_BOOT_DRIVER(imx5_pinctrl) = {
.id = UCLASS_PINCTRL,
.of_match = of_match_ptr(imx5_pinctrl_match),
.probe = imx_pinctrl_probe_mmio,
.remove = imx_pinctrl_remove,
.remove = imx_pinctrl_remove_mmio,
.priv_auto = sizeof(struct imx_pinctrl_priv),
.ops = &imx5_pinctrl_ops,
.flags = DM_FLAG_PRE_RELOC,

View File

@@ -41,7 +41,7 @@ U_BOOT_DRIVER(fsl_imx6q_iomuxc) = {
.id = UCLASS_PINCTRL,
.of_match = of_match_ptr(imx6_pinctrl_match),
.probe = imx_pinctrl_probe_mmio,
.remove = imx_pinctrl_remove,
.remove = imx_pinctrl_remove_mmio,
.priv_auto = sizeof(struct imx_pinctrl_priv),
.ops = &imx6_pinctrl_ops,
.flags = DM_FLAG_PRE_RELOC,

View File

@@ -29,7 +29,7 @@ U_BOOT_DRIVER(imx7_pinctrl) = {
.id = UCLASS_PINCTRL,
.of_match = of_match_ptr(imx7_pinctrl_match),
.probe = imx_pinctrl_probe_mmio,
.remove = imx_pinctrl_remove,
.remove = imx_pinctrl_remove_mmio,
.priv_auto = sizeof(struct imx_pinctrl_priv),
.ops = &imx7_pinctrl_ops,
.flags = DM_FLAG_PRE_RELOC,

View File

@@ -33,7 +33,7 @@ U_BOOT_DRIVER(imx7ulp_pinctrl) = {
.id = UCLASS_PINCTRL,
.of_match = of_match_ptr(imx7ulp_pinctrl_match),
.probe = imx_pinctrl_probe_mmio,
.remove = imx_pinctrl_remove,
.remove = imx_pinctrl_remove_mmio,
.priv_auto = sizeof(struct imx_pinctrl_priv),
.ops = &imx7ulp_pinctrl_ops,
.flags = DM_FLAG_PRE_RELOC,

View File

@@ -27,7 +27,7 @@ U_BOOT_DRIVER(imx8mq_pinctrl) = {
.id = UCLASS_PINCTRL,
.of_match = of_match_ptr(imx8m_pinctrl_match),
.probe = imx_pinctrl_probe_mmio,
.remove = imx_pinctrl_remove,
.remove = imx_pinctrl_remove_mmio,
.priv_auto = sizeof(struct imx_pinctrl_priv),
.ops = &imx8m_pinctrl_ops,
.flags = DM_FLAG_PRE_RELOC,

View File

@@ -32,7 +32,7 @@ U_BOOT_DRIVER(imx8ulp_pinctrl) = {
.id = UCLASS_PINCTRL,
.of_match = of_match_ptr(imx8ulp_pinctrl_match),
.probe = imx_pinctrl_probe_mmio,
.remove = imx_pinctrl_remove,
.remove = imx_pinctrl_remove_mmio,
.priv_auto = sizeof(struct imx_pinctrl_priv),
.ops = &imx8ulp_pinctrl_ops,
.flags = DM_FLAG_PRE_RELOC,

View File

@@ -27,7 +27,7 @@ U_BOOT_DRIVER(imx93_pinctrl) = {
.id = UCLASS_PINCTRL,
.of_match = of_match_ptr(imx93_pinctrl_match),
.probe = imx_pinctrl_probe_mmio,
.remove = imx_pinctrl_remove,
.remove = imx_pinctrl_remove_mmio,
.priv_auto = sizeof(struct imx_pinctrl_priv),
.ops = &imx93_pinctrl_ops,
.flags = DM_FLAG_PRE_RELOC,

View File

@@ -28,7 +28,7 @@ U_BOOT_DRIVER(imxrt_pinctrl) = {
.id = UCLASS_PINCTRL,
.of_match = of_match_ptr(imxrt_pinctrl_match),
.probe = imx_pinctrl_probe_mmio,
.remove = imx_pinctrl_remove,
.remove = imx_pinctrl_remove_mmio,
.priv_auto = sizeof(struct imx_pinctrl_priv),
.ops = &imxrt_pinctrl_ops,
.flags = DM_FLAG_PRE_RELOC,

View File

@@ -28,7 +28,7 @@ U_BOOT_DRIVER(vf610_pinctrl) = {
.id = UCLASS_PINCTRL,
.of_match = of_match_ptr(vf610_pinctrl_match),
.probe = imx_pinctrl_probe_mmio,
.remove = imx_pinctrl_remove,
.remove = imx_pinctrl_remove_mmio,
.priv_auto = sizeof(struct imx_pinctrl_priv),
.ops = &vf610_pinctrl_ops,
.flags = DM_FLAG_PRE_RELOC,