pinctrl: imx: Rename imx_pinctrl_ops to match drivers
authorMarek Vasut <marex@denx.de>
Fri, 24 Jan 2025 14:50:51 +0000 (15:50 +0100)
committerFabio Estevam <festevam@gmail.com>
Sat, 25 Jan 2025 12:06:32 +0000 (09:06 -0300)
Rename the structure instances to match driver names, so they
can be easily looked up e.g. in objdump and readelf outputs.
No functional change.

Signed-off-by: Marek Vasut <marex@denx.de>
drivers/pinctrl/nxp/pinctrl-imx5.c
drivers/pinctrl/nxp/pinctrl-imx6.c
drivers/pinctrl/nxp/pinctrl-imx7.c
drivers/pinctrl/nxp/pinctrl-imx7ulp.c
drivers/pinctrl/nxp/pinctrl-imx8.c
drivers/pinctrl/nxp/pinctrl-imx8m.c
drivers/pinctrl/nxp/pinctrl-imx8ulp.c
drivers/pinctrl/nxp/pinctrl-imx93.c
drivers/pinctrl/nxp/pinctrl-imxrt.c
drivers/pinctrl/nxp/pinctrl-vf610.c

index c17d396..56f0e17 100644 (file)
@@ -31,7 +31,7 @@ static const struct udevice_id imx5_pinctrl_match[] = {
        { /* sentinel */ }
 };
 
-static const struct pinctrl_ops imx_pinctrl_ops = {
+static const struct pinctrl_ops imx5_pinctrl_ops = {
        .set_state = imx_pinctrl_set_state,
 };
 
@@ -42,6 +42,6 @@ U_BOOT_DRIVER(imx5_pinctrl) = {
        .probe = imx5_pinctrl_probe,
        .remove = imx_pinctrl_remove,
        .priv_auto      = sizeof(struct imx_pinctrl_priv),
-       .ops = &imx_pinctrl_ops,
+       .ops = &imx5_pinctrl_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index 2d3d4ce..23b5566 100644 (file)
@@ -40,7 +40,7 @@ static const struct udevice_id imx6_pinctrl_match[] = {
        { /* sentinel */ }
 };
 
-static const struct pinctrl_ops imx_pinctrl_ops = {
+static const struct pinctrl_ops imx6_pinctrl_ops = {
        .set_state = imx_pinctrl_set_state,
 };
 
@@ -51,7 +51,7 @@ U_BOOT_DRIVER(fsl_imx6q_iomuxc) = {
        .probe = imx6_pinctrl_probe,
        .remove = imx_pinctrl_remove,
        .priv_auto      = sizeof(struct imx_pinctrl_priv),
-       .ops = &imx_pinctrl_ops,
+       .ops = &imx6_pinctrl_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
 
index 2505f5d..faccd2e 100644 (file)
@@ -28,7 +28,7 @@ static const struct udevice_id imx7_pinctrl_match[] = {
        { /* sentinel */ }
 };
 
-static const struct pinctrl_ops imx_pinctrl_ops = {
+static const struct pinctrl_ops imx7_pinctrl_ops = {
        .set_state = imx_pinctrl_set_state,
 };
 
@@ -39,6 +39,6 @@ U_BOOT_DRIVER(imx7_pinctrl) = {
        .probe = imx7_pinctrl_probe,
        .remove = imx_pinctrl_remove,
        .priv_auto      = sizeof(struct imx_pinctrl_priv),
-       .ops = &imx_pinctrl_ops,
+       .ops = &imx7_pinctrl_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index 7d732f5..3288926 100644 (file)
@@ -32,7 +32,7 @@ static const struct udevice_id imx7ulp_pinctrl_match[] = {
        { /* sentinel */ }
 };
 
-static const struct pinctrl_ops imx_pinctrl_ops = {
+static const struct pinctrl_ops imx7ulp_pinctrl_ops = {
        .set_state = imx_pinctrl_set_state,
 };
 
@@ -43,6 +43,6 @@ U_BOOT_DRIVER(imx7ulp_pinctrl) = {
        .probe = imx7ulp_pinctrl_probe,
        .remove = imx_pinctrl_remove,
        .priv_auto      = sizeof(struct imx_pinctrl_priv),
-       .ops = &imx_pinctrl_ops,
+       .ops = &imx7ulp_pinctrl_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index 930de19..0afae31 100644 (file)
@@ -29,7 +29,7 @@ static const struct udevice_id imx8_pinctrl_match[] = {
        { /* sentinel */ }
 };
 
-static const struct pinctrl_ops imx_pinctrl_ops = {
+static const struct pinctrl_ops imx8_pinctrl_ops = {
        .set_state = imx_pinctrl_set_state,
 };
 
@@ -40,6 +40,6 @@ U_BOOT_DRIVER(imx8_pinctrl) = {
        .probe = imx8_pinctrl_probe,
        .remove = imx_pinctrl_remove,
        .priv_auto      = sizeof(struct imx_pinctrl_priv),
-       .ops = &imx_pinctrl_ops,
+       .ops = &imx8_pinctrl_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index d30a6ee..661e08c 100644 (file)
@@ -26,7 +26,7 @@ static const struct udevice_id imx8m_pinctrl_match[] = {
        { /* sentinel */ }
 };
 
-static const struct pinctrl_ops imx_pinctrl_ops = {
+static const struct pinctrl_ops imx8m_pinctrl_ops = {
        .set_state = imx_pinctrl_set_state,
 };
 
@@ -37,6 +37,6 @@ U_BOOT_DRIVER(imx8mq_pinctrl) = {
        .probe = imx8mq_pinctrl_probe,
        .remove = imx_pinctrl_remove,
        .priv_auto      = sizeof(struct imx_pinctrl_priv),
-       .ops = &imx_pinctrl_ops,
+       .ops = &imx8m_pinctrl_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index 0fb116a..40901f3 100644 (file)
@@ -31,7 +31,7 @@ static const struct udevice_id imx8ulp_pinctrl_match[] = {
        { /* sentinel */ }
 };
 
-static const struct pinctrl_ops imx_pinctrl_ops = {
+static const struct pinctrl_ops imx8ulp_pinctrl_ops = {
        .set_state = imx_pinctrl_set_state,
 };
 
@@ -42,6 +42,6 @@ U_BOOT_DRIVER(imx8ulp_pinctrl) = {
        .probe = imx8ulp_pinctrl_probe,
        .remove = imx_pinctrl_remove,
        .priv_auto = sizeof(struct imx_pinctrl_priv),
-       .ops = &imx_pinctrl_ops,
+       .ops = &imx8ulp_pinctrl_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index 2d027cd..4db224d 100644 (file)
@@ -26,7 +26,7 @@ static const struct udevice_id imx93_pinctrl_match[] = {
        { /* sentinel */ }
 };
 
-static const struct pinctrl_ops imx_pinctrl_ops = {
+static const struct pinctrl_ops imx93_pinctrl_ops = {
        .set_state = imx_pinctrl_set_state,
 };
 
@@ -37,6 +37,6 @@ U_BOOT_DRIVER(imx93_pinctrl) = {
        .probe = imx93_pinctrl_probe,
        .remove = imx_pinctrl_remove,
        .priv_auto      = sizeof(struct imx_pinctrl_priv),
-       .ops = &imx_pinctrl_ops,
+       .ops = &imx93_pinctrl_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index fdb3cbe..4383015 100644 (file)
@@ -27,7 +27,7 @@ static const struct udevice_id imxrt_pinctrl_match[] = {
        { /* sentinel */ }
 };
 
-static const struct pinctrl_ops imx_pinctrl_ops = {
+static const struct pinctrl_ops imxrt_pinctrl_ops = {
        .set_state = imx_pinctrl_set_state,
 };
 
@@ -38,6 +38,6 @@ U_BOOT_DRIVER(imxrt_pinctrl) = {
        .probe = imxrt_pinctrl_probe,
        .remove = imx_pinctrl_remove,
        .priv_auto      = sizeof(struct imx_pinctrl_priv),
-       .ops = &imx_pinctrl_ops,
+       .ops = &imxrt_pinctrl_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index 86514eb..0e17b8c 100644 (file)
@@ -27,7 +27,7 @@ static const struct udevice_id vf610_pinctrl_match[] = {
        { /* sentinel */ }
 };
 
-static const struct pinctrl_ops imx_pinctrl_ops = {
+static const struct pinctrl_ops vf610_pinctrl_ops = {
        .set_state = imx_pinctrl_set_state,
 };
 
@@ -38,6 +38,6 @@ U_BOOT_DRIVER(vf610_pinctrl) = {
        .probe = vf610_pinctrl_probe,
        .remove = imx_pinctrl_remove,
        .priv_auto      = sizeof(struct imx_pinctrl_priv),
-       .ops = &imx_pinctrl_ops,
+       .ops = &vf610_pinctrl_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };