pinctrl: remove use of __devinitdata
CONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Viresh Kumar <viresh.linux@gmail.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
2a36f08636
Коммит
99688ed774
|
@ -272,7 +272,7 @@ static int __devinit imx23_pinctrl_probe(struct platform_device *pdev)
|
||||||
return mxs_pinctrl_probe(pdev, &imx23_pinctrl_data);
|
return mxs_pinctrl_probe(pdev, &imx23_pinctrl_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct of_device_id imx23_pinctrl_of_match[] __devinitdata = {
|
static struct of_device_id imx23_pinctrl_of_match[] = {
|
||||||
{ .compatible = "fsl,imx23-pinctrl", },
|
{ .compatible = "fsl,imx23-pinctrl", },
|
||||||
{ /* sentinel */ }
|
{ /* sentinel */ }
|
||||||
};
|
};
|
||||||
|
|
|
@ -388,7 +388,7 @@ static int __devinit imx28_pinctrl_probe(struct platform_device *pdev)
|
||||||
return mxs_pinctrl_probe(pdev, &imx28_pinctrl_data);
|
return mxs_pinctrl_probe(pdev, &imx28_pinctrl_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct of_device_id imx28_pinctrl_of_match[] __devinitdata = {
|
static struct of_device_id imx28_pinctrl_of_match[] = {
|
||||||
{ .compatible = "fsl,imx28-pinctrl", },
|
{ .compatible = "fsl,imx28-pinctrl", },
|
||||||
{ /* sentinel */ }
|
{ /* sentinel */ }
|
||||||
};
|
};
|
||||||
|
|
|
@ -1559,7 +1559,7 @@ static struct imx_pinctrl_soc_info imx35_pinctrl_info = {
|
||||||
.npin_regs = ARRAY_SIZE(imx35_pin_regs),
|
.npin_regs = ARRAY_SIZE(imx35_pin_regs),
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct of_device_id imx35_pinctrl_of_match[] __devinitdata = {
|
static struct of_device_id imx35_pinctrl_of_match[] = {
|
||||||
{ .compatible = "fsl,imx35-iomuxc", },
|
{ .compatible = "fsl,imx35-iomuxc", },
|
||||||
{ /* sentinel */ }
|
{ /* sentinel */ }
|
||||||
};
|
};
|
||||||
|
|
|
@ -1286,7 +1286,7 @@ static struct imx_pinctrl_soc_info imx51_pinctrl_info = {
|
||||||
.npin_regs = ARRAY_SIZE(imx51_pin_regs),
|
.npin_regs = ARRAY_SIZE(imx51_pin_regs),
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct of_device_id imx51_pinctrl_of_match[] __devinitdata = {
|
static struct of_device_id imx51_pinctrl_of_match[] = {
|
||||||
{ .compatible = "fsl,imx51-iomuxc", },
|
{ .compatible = "fsl,imx51-iomuxc", },
|
||||||
{ /* sentinel */ }
|
{ /* sentinel */ }
|
||||||
};
|
};
|
||||||
|
|
|
@ -1613,7 +1613,7 @@ static struct imx_pinctrl_soc_info imx53_pinctrl_info = {
|
||||||
.npin_regs = ARRAY_SIZE(imx53_pin_regs),
|
.npin_regs = ARRAY_SIZE(imx53_pin_regs),
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct of_device_id imx53_pinctrl_of_match[] __devinitdata = {
|
static struct of_device_id imx53_pinctrl_of_match[] = {
|
||||||
{ .compatible = "fsl,imx53-iomuxc", },
|
{ .compatible = "fsl,imx53-iomuxc", },
|
||||||
{ /* sentinel */ }
|
{ /* sentinel */ }
|
||||||
};
|
};
|
||||||
|
|
|
@ -2297,7 +2297,7 @@ static struct imx_pinctrl_soc_info imx6q_pinctrl_info = {
|
||||||
.npin_regs = ARRAY_SIZE(imx6q_pin_regs),
|
.npin_regs = ARRAY_SIZE(imx6q_pin_regs),
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct of_device_id imx6q_pinctrl_of_match[] __devinitdata = {
|
static struct of_device_id imx6q_pinctrl_of_match[] = {
|
||||||
{ .compatible = "fsl,imx6q-iomuxc", },
|
{ .compatible = "fsl,imx6q-iomuxc", },
|
||||||
{ /* sentinel */ }
|
{ /* sentinel */ }
|
||||||
};
|
};
|
||||||
|
|
|
@ -998,7 +998,7 @@ static int __devexit pcs_remove(struct platform_device *pdev)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct of_device_id pcs_of_match[] __devinitdata = {
|
static struct of_device_id pcs_of_match[] = {
|
||||||
{ .compatible = DRIVER_NAME, },
|
{ .compatible = DRIVER_NAME, },
|
||||||
{ },
|
{ },
|
||||||
};
|
};
|
||||||
|
|
|
@ -2861,7 +2861,7 @@ static int __devinit tegra20_pinctrl_probe(struct platform_device *pdev)
|
||||||
return tegra_pinctrl_probe(pdev, &tegra20_pinctrl);
|
return tegra_pinctrl_probe(pdev, &tegra20_pinctrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct of_device_id tegra20_pinctrl_of_match[] __devinitdata = {
|
static struct of_device_id tegra20_pinctrl_of_match[] = {
|
||||||
{ .compatible = "nvidia,tegra20-pinmux", },
|
{ .compatible = "nvidia,tegra20-pinmux", },
|
||||||
{ },
|
{ },
|
||||||
};
|
};
|
||||||
|
|
|
@ -3727,7 +3727,7 @@ static int __devinit tegra30_pinctrl_probe(struct platform_device *pdev)
|
||||||
return tegra_pinctrl_probe(pdev, &tegra30_pinctrl);
|
return tegra_pinctrl_probe(pdev, &tegra30_pinctrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct of_device_id tegra30_pinctrl_of_match[] __devinitdata = {
|
static struct of_device_id tegra30_pinctrl_of_match[] = {
|
||||||
{ .compatible = "nvidia,tegra30-pinmux", },
|
{ .compatible = "nvidia,tegra30-pinmux", },
|
||||||
{ },
|
{ },
|
||||||
};
|
};
|
||||||
|
|
|
@ -2428,7 +2428,7 @@ static struct spear_pinctrl_machdata spear1310_machdata = {
|
||||||
.modes_supported = false,
|
.modes_supported = false,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct of_device_id spear1310_pinctrl_of_match[] __devinitdata = {
|
static struct of_device_id spear1310_pinctrl_of_match[] = {
|
||||||
{
|
{
|
||||||
.compatible = "st,spear1310-pinmux",
|
.compatible = "st,spear1310-pinmux",
|
||||||
},
|
},
|
||||||
|
|
|
@ -1981,7 +1981,7 @@ static struct spear_pinctrl_machdata spear1340_machdata = {
|
||||||
.modes_supported = false,
|
.modes_supported = false,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct of_device_id spear1340_pinctrl_of_match[] __devinitdata = {
|
static struct of_device_id spear1340_pinctrl_of_match[] = {
|
||||||
{
|
{
|
||||||
.compatible = "st,spear1340-pinmux",
|
.compatible = "st,spear1340-pinmux",
|
||||||
},
|
},
|
||||||
|
|
|
@ -646,7 +646,7 @@ static struct spear_function *spear300_functions[] = {
|
||||||
&gpio1_function,
|
&gpio1_function,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct of_device_id spear300_pinctrl_of_match[] __devinitdata = {
|
static struct of_device_id spear300_pinctrl_of_match[] = {
|
||||||
{
|
{
|
||||||
.compatible = "st,spear300-pinmux",
|
.compatible = "st,spear300-pinmux",
|
||||||
},
|
},
|
||||||
|
|
|
@ -371,7 +371,7 @@ static struct spear_function *spear310_functions[] = {
|
||||||
&tdm_function,
|
&tdm_function,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct of_device_id spear310_pinctrl_of_match[] __devinitdata = {
|
static struct of_device_id spear310_pinctrl_of_match[] = {
|
||||||
{
|
{
|
||||||
.compatible = "st,spear310-pinmux",
|
.compatible = "st,spear310-pinmux",
|
||||||
},
|
},
|
||||||
|
|
|
@ -3410,7 +3410,7 @@ static struct spear_function *spear320_functions[] = {
|
||||||
&i2c2_function,
|
&i2c2_function,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct of_device_id spear320_pinctrl_of_match[] __devinitdata = {
|
static struct of_device_id spear320_pinctrl_of_match[] = {
|
||||||
{
|
{
|
||||||
.compatible = "st,spear320-pinmux",
|
.compatible = "st,spear320-pinmux",
|
||||||
},
|
},
|
||||||
|
|
Загрузка…
Ссылка в новой задаче