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:

committed by
Fabio Estevam

parent
7ddd6d3c21
commit
ecd087dffe
@@ -262,7 +262,7 @@ int imx_pinctrl_probe_mmio(struct udevice *dev)
|
|||||||
return 0;
|
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_priv *priv = dev_get_priv(dev);
|
||||||
struct imx_pinctrl_soc_info *info = priv->info;
|
struct imx_pinctrl_soc_info *info = priv->info;
|
||||||
|
@@ -51,7 +51,7 @@ struct imx_pinctrl_priv {
|
|||||||
int imx_pinctrl_probe_common(struct udevice *dev);
|
int imx_pinctrl_probe_common(struct udevice *dev);
|
||||||
int imx_pinctrl_probe_mmio(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);
|
int imx_pinctrl_set_state(struct udevice *dev, struct udevice *config);
|
||||||
|
|
||||||
|
@@ -32,7 +32,7 @@ U_BOOT_DRIVER(imx5_pinctrl) = {
|
|||||||
.id = UCLASS_PINCTRL,
|
.id = UCLASS_PINCTRL,
|
||||||
.of_match = of_match_ptr(imx5_pinctrl_match),
|
.of_match = of_match_ptr(imx5_pinctrl_match),
|
||||||
.probe = imx_pinctrl_probe_mmio,
|
.probe = imx_pinctrl_probe_mmio,
|
||||||
.remove = imx_pinctrl_remove,
|
.remove = imx_pinctrl_remove_mmio,
|
||||||
.priv_auto = sizeof(struct imx_pinctrl_priv),
|
.priv_auto = sizeof(struct imx_pinctrl_priv),
|
||||||
.ops = &imx5_pinctrl_ops,
|
.ops = &imx5_pinctrl_ops,
|
||||||
.flags = DM_FLAG_PRE_RELOC,
|
.flags = DM_FLAG_PRE_RELOC,
|
||||||
|
@@ -41,7 +41,7 @@ U_BOOT_DRIVER(fsl_imx6q_iomuxc) = {
|
|||||||
.id = UCLASS_PINCTRL,
|
.id = UCLASS_PINCTRL,
|
||||||
.of_match = of_match_ptr(imx6_pinctrl_match),
|
.of_match = of_match_ptr(imx6_pinctrl_match),
|
||||||
.probe = imx_pinctrl_probe_mmio,
|
.probe = imx_pinctrl_probe_mmio,
|
||||||
.remove = imx_pinctrl_remove,
|
.remove = imx_pinctrl_remove_mmio,
|
||||||
.priv_auto = sizeof(struct imx_pinctrl_priv),
|
.priv_auto = sizeof(struct imx_pinctrl_priv),
|
||||||
.ops = &imx6_pinctrl_ops,
|
.ops = &imx6_pinctrl_ops,
|
||||||
.flags = DM_FLAG_PRE_RELOC,
|
.flags = DM_FLAG_PRE_RELOC,
|
||||||
|
@@ -29,7 +29,7 @@ U_BOOT_DRIVER(imx7_pinctrl) = {
|
|||||||
.id = UCLASS_PINCTRL,
|
.id = UCLASS_PINCTRL,
|
||||||
.of_match = of_match_ptr(imx7_pinctrl_match),
|
.of_match = of_match_ptr(imx7_pinctrl_match),
|
||||||
.probe = imx_pinctrl_probe_mmio,
|
.probe = imx_pinctrl_probe_mmio,
|
||||||
.remove = imx_pinctrl_remove,
|
.remove = imx_pinctrl_remove_mmio,
|
||||||
.priv_auto = sizeof(struct imx_pinctrl_priv),
|
.priv_auto = sizeof(struct imx_pinctrl_priv),
|
||||||
.ops = &imx7_pinctrl_ops,
|
.ops = &imx7_pinctrl_ops,
|
||||||
.flags = DM_FLAG_PRE_RELOC,
|
.flags = DM_FLAG_PRE_RELOC,
|
||||||
|
@@ -33,7 +33,7 @@ U_BOOT_DRIVER(imx7ulp_pinctrl) = {
|
|||||||
.id = UCLASS_PINCTRL,
|
.id = UCLASS_PINCTRL,
|
||||||
.of_match = of_match_ptr(imx7ulp_pinctrl_match),
|
.of_match = of_match_ptr(imx7ulp_pinctrl_match),
|
||||||
.probe = imx_pinctrl_probe_mmio,
|
.probe = imx_pinctrl_probe_mmio,
|
||||||
.remove = imx_pinctrl_remove,
|
.remove = imx_pinctrl_remove_mmio,
|
||||||
.priv_auto = sizeof(struct imx_pinctrl_priv),
|
.priv_auto = sizeof(struct imx_pinctrl_priv),
|
||||||
.ops = &imx7ulp_pinctrl_ops,
|
.ops = &imx7ulp_pinctrl_ops,
|
||||||
.flags = DM_FLAG_PRE_RELOC,
|
.flags = DM_FLAG_PRE_RELOC,
|
||||||
|
@@ -27,7 +27,7 @@ U_BOOT_DRIVER(imx8mq_pinctrl) = {
|
|||||||
.id = UCLASS_PINCTRL,
|
.id = UCLASS_PINCTRL,
|
||||||
.of_match = of_match_ptr(imx8m_pinctrl_match),
|
.of_match = of_match_ptr(imx8m_pinctrl_match),
|
||||||
.probe = imx_pinctrl_probe_mmio,
|
.probe = imx_pinctrl_probe_mmio,
|
||||||
.remove = imx_pinctrl_remove,
|
.remove = imx_pinctrl_remove_mmio,
|
||||||
.priv_auto = sizeof(struct imx_pinctrl_priv),
|
.priv_auto = sizeof(struct imx_pinctrl_priv),
|
||||||
.ops = &imx8m_pinctrl_ops,
|
.ops = &imx8m_pinctrl_ops,
|
||||||
.flags = DM_FLAG_PRE_RELOC,
|
.flags = DM_FLAG_PRE_RELOC,
|
||||||
|
@@ -32,7 +32,7 @@ U_BOOT_DRIVER(imx8ulp_pinctrl) = {
|
|||||||
.id = UCLASS_PINCTRL,
|
.id = UCLASS_PINCTRL,
|
||||||
.of_match = of_match_ptr(imx8ulp_pinctrl_match),
|
.of_match = of_match_ptr(imx8ulp_pinctrl_match),
|
||||||
.probe = imx_pinctrl_probe_mmio,
|
.probe = imx_pinctrl_probe_mmio,
|
||||||
.remove = imx_pinctrl_remove,
|
.remove = imx_pinctrl_remove_mmio,
|
||||||
.priv_auto = sizeof(struct imx_pinctrl_priv),
|
.priv_auto = sizeof(struct imx_pinctrl_priv),
|
||||||
.ops = &imx8ulp_pinctrl_ops,
|
.ops = &imx8ulp_pinctrl_ops,
|
||||||
.flags = DM_FLAG_PRE_RELOC,
|
.flags = DM_FLAG_PRE_RELOC,
|
||||||
|
@@ -27,7 +27,7 @@ U_BOOT_DRIVER(imx93_pinctrl) = {
|
|||||||
.id = UCLASS_PINCTRL,
|
.id = UCLASS_PINCTRL,
|
||||||
.of_match = of_match_ptr(imx93_pinctrl_match),
|
.of_match = of_match_ptr(imx93_pinctrl_match),
|
||||||
.probe = imx_pinctrl_probe_mmio,
|
.probe = imx_pinctrl_probe_mmio,
|
||||||
.remove = imx_pinctrl_remove,
|
.remove = imx_pinctrl_remove_mmio,
|
||||||
.priv_auto = sizeof(struct imx_pinctrl_priv),
|
.priv_auto = sizeof(struct imx_pinctrl_priv),
|
||||||
.ops = &imx93_pinctrl_ops,
|
.ops = &imx93_pinctrl_ops,
|
||||||
.flags = DM_FLAG_PRE_RELOC,
|
.flags = DM_FLAG_PRE_RELOC,
|
||||||
|
@@ -28,7 +28,7 @@ U_BOOT_DRIVER(imxrt_pinctrl) = {
|
|||||||
.id = UCLASS_PINCTRL,
|
.id = UCLASS_PINCTRL,
|
||||||
.of_match = of_match_ptr(imxrt_pinctrl_match),
|
.of_match = of_match_ptr(imxrt_pinctrl_match),
|
||||||
.probe = imx_pinctrl_probe_mmio,
|
.probe = imx_pinctrl_probe_mmio,
|
||||||
.remove = imx_pinctrl_remove,
|
.remove = imx_pinctrl_remove_mmio,
|
||||||
.priv_auto = sizeof(struct imx_pinctrl_priv),
|
.priv_auto = sizeof(struct imx_pinctrl_priv),
|
||||||
.ops = &imxrt_pinctrl_ops,
|
.ops = &imxrt_pinctrl_ops,
|
||||||
.flags = DM_FLAG_PRE_RELOC,
|
.flags = DM_FLAG_PRE_RELOC,
|
||||||
|
@@ -28,7 +28,7 @@ U_BOOT_DRIVER(vf610_pinctrl) = {
|
|||||||
.id = UCLASS_PINCTRL,
|
.id = UCLASS_PINCTRL,
|
||||||
.of_match = of_match_ptr(vf610_pinctrl_match),
|
.of_match = of_match_ptr(vf610_pinctrl_match),
|
||||||
.probe = imx_pinctrl_probe_mmio,
|
.probe = imx_pinctrl_probe_mmio,
|
||||||
.remove = imx_pinctrl_remove,
|
.remove = imx_pinctrl_remove_mmio,
|
||||||
.priv_auto = sizeof(struct imx_pinctrl_priv),
|
.priv_auto = sizeof(struct imx_pinctrl_priv),
|
||||||
.ops = &vf610_pinctrl_ops,
|
.ops = &vf610_pinctrl_ops,
|
||||||
.flags = DM_FLAG_PRE_RELOC,
|
.flags = DM_FLAG_PRE_RELOC,
|
||||||
|
Reference in New Issue
Block a user