pinctrl: remove use of __devexit
CONFIG_HOTPLUG is going away as an option so __devexit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com> Cc: Stephen Warren <swarren@wwwdotorg.org> 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:
Родитель
84db00ba1e
Коммит
f90f54b3f3
|
@ -1042,7 +1042,7 @@ static int __devinit bcm2835_pinctrl_probe(struct platform_device *pdev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit bcm2835_pinctrl_remove(struct platform_device *pdev)
|
||||
static int bcm2835_pinctrl_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct bcm2835_pinctrl *pc = platform_get_drvdata(pdev);
|
||||
|
||||
|
|
|
@ -611,7 +611,7 @@ int __devinit imx_pinctrl_probe(struct platform_device *pdev,
|
|||
return 0;
|
||||
}
|
||||
|
||||
int __devexit imx_pinctrl_remove(struct platform_device *pdev)
|
||||
int imx_pinctrl_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct imx_pinctrl *ipctl = platform_get_drvdata(pdev);
|
||||
|
||||
|
|
|
@ -691,7 +691,7 @@ static int __devinit mmp2_pinmux_probe(struct platform_device *pdev)
|
|||
return pxa3xx_pinctrl_register(pdev, &mmp2_info);
|
||||
}
|
||||
|
||||
static int __devexit mmp2_pinmux_remove(struct platform_device *pdev)
|
||||
static int mmp2_pinmux_remove(struct platform_device *pdev)
|
||||
{
|
||||
return pxa3xx_pinctrl_unregister(pdev);
|
||||
}
|
||||
|
|
|
@ -522,7 +522,7 @@ err:
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(mxs_pinctrl_probe);
|
||||
|
||||
int __devexit mxs_pinctrl_remove(struct platform_device *pdev)
|
||||
int mxs_pinctrl_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct mxs_pinctrl_data *d = platform_get_drvdata(pdev);
|
||||
|
||||
|
|
|
@ -620,7 +620,7 @@ static int __devinit pxa168_pinmux_probe(struct platform_device *pdev)
|
|||
return pxa3xx_pinctrl_register(pdev, &pxa168_info);
|
||||
}
|
||||
|
||||
static int __devexit pxa168_pinmux_remove(struct platform_device *pdev)
|
||||
static int pxa168_pinmux_remove(struct platform_device *pdev)
|
||||
{
|
||||
return pxa3xx_pinctrl_unregister(pdev);
|
||||
}
|
||||
|
|
|
@ -976,7 +976,7 @@ static int __devinit pxa910_pinmux_probe(struct platform_device *pdev)
|
|||
return pxa3xx_pinctrl_register(pdev, &pxa910_info);
|
||||
}
|
||||
|
||||
static int __devexit pxa910_pinmux_remove(struct platform_device *pdev)
|
||||
static int pxa910_pinmux_remove(struct platform_device *pdev)
|
||||
{
|
||||
return pxa3xx_pinctrl_unregister(pdev);
|
||||
}
|
||||
|
|
|
@ -986,7 +986,7 @@ free:
|
|||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit pcs_remove(struct platform_device *pdev)
|
||||
static int pcs_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct pcs_device *pcs = platform_get_drvdata(pdev);
|
||||
|
||||
|
|
|
@ -758,7 +758,7 @@ int __devinit tegra_pinctrl_probe(struct platform_device *pdev,
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(tegra_pinctrl_probe);
|
||||
|
||||
int __devexit tegra_pinctrl_remove(struct platform_device *pdev)
|
||||
int tegra_pinctrl_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct tegra_pmx *pmx = platform_get_drvdata(pdev);
|
||||
|
||||
|
|
|
@ -1166,7 +1166,7 @@ out_no_memregion:
|
|||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit u300_pmx_remove(struct platform_device *pdev)
|
||||
static int u300_pmx_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct u300_pmx *upmx = platform_get_drvdata(pdev);
|
||||
|
||||
|
|
|
@ -344,7 +344,7 @@ int __devinit spear_pinctrl_probe(struct platform_device *pdev,
|
|||
return 0;
|
||||
}
|
||||
|
||||
int __devexit spear_pinctrl_remove(struct platform_device *pdev)
|
||||
int spear_pinctrl_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct spear_pmx *pmx = platform_get_drvdata(pdev);
|
||||
|
||||
|
|
|
@ -138,7 +138,7 @@ struct spear_pmx {
|
|||
void __devinit pmx_init_addr(struct spear_pinctrl_machdata *machdata, u16 reg);
|
||||
int __devinit spear_pinctrl_probe(struct platform_device *pdev,
|
||||
struct spear_pinctrl_machdata *machdata);
|
||||
int __devexit spear_pinctrl_remove(struct platform_device *pdev);
|
||||
int spear_pinctrl_remove(struct platform_device *pdev);
|
||||
|
||||
#define SPEAR_PIN_0_TO_101 \
|
||||
PINCTRL_PIN(0, "PLGPIO0"), \
|
||||
|
|
|
@ -2440,7 +2440,7 @@ static int __devinit spear1310_pinctrl_probe(struct platform_device *pdev)
|
|||
return spear_pinctrl_probe(pdev, &spear1310_machdata);
|
||||
}
|
||||
|
||||
static int __devexit spear1310_pinctrl_remove(struct platform_device *pdev)
|
||||
static int spear1310_pinctrl_remove(struct platform_device *pdev)
|
||||
{
|
||||
return spear_pinctrl_remove(pdev);
|
||||
}
|
||||
|
|
|
@ -1993,7 +1993,7 @@ static int __devinit spear1340_pinctrl_probe(struct platform_device *pdev)
|
|||
return spear_pinctrl_probe(pdev, &spear1340_machdata);
|
||||
}
|
||||
|
||||
static int __devexit spear1340_pinctrl_remove(struct platform_device *pdev)
|
||||
static int spear1340_pinctrl_remove(struct platform_device *pdev)
|
||||
{
|
||||
return spear_pinctrl_remove(pdev);
|
||||
}
|
||||
|
|
|
@ -675,7 +675,7 @@ static int __devinit spear300_pinctrl_probe(struct platform_device *pdev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit spear300_pinctrl_remove(struct platform_device *pdev)
|
||||
static int spear300_pinctrl_remove(struct platform_device *pdev)
|
||||
{
|
||||
return spear_pinctrl_remove(pdev);
|
||||
}
|
||||
|
|
|
@ -398,7 +398,7 @@ static int __devinit spear310_pinctrl_probe(struct platform_device *pdev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit spear310_pinctrl_remove(struct platform_device *pdev)
|
||||
static int spear310_pinctrl_remove(struct platform_device *pdev)
|
||||
{
|
||||
return spear_pinctrl_remove(pdev);
|
||||
}
|
||||
|
|
|
@ -3439,7 +3439,7 @@ static int __devinit spear320_pinctrl_probe(struct platform_device *pdev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit spear320_pinctrl_remove(struct platform_device *pdev)
|
||||
static int spear320_pinctrl_remove(struct platform_device *pdev)
|
||||
{
|
||||
return spear_pinctrl_remove(pdev);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче