Commit f90f54b3 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

pinctrl: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.
Signed-off-by: default avatarBill 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: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 84db00ba
...@@ -1042,7 +1042,7 @@ static int __devinit bcm2835_pinctrl_probe(struct platform_device *pdev) ...@@ -1042,7 +1042,7 @@ static int __devinit bcm2835_pinctrl_probe(struct platform_device *pdev)
return 0; 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); struct bcm2835_pinctrl *pc = platform_get_drvdata(pdev);
......
...@@ -611,7 +611,7 @@ int __devinit imx_pinctrl_probe(struct platform_device *pdev, ...@@ -611,7 +611,7 @@ int __devinit imx_pinctrl_probe(struct platform_device *pdev,
return 0; 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); struct imx_pinctrl *ipctl = platform_get_drvdata(pdev);
......
...@@ -691,7 +691,7 @@ static int __devinit mmp2_pinmux_probe(struct platform_device *pdev) ...@@ -691,7 +691,7 @@ static int __devinit mmp2_pinmux_probe(struct platform_device *pdev)
return pxa3xx_pinctrl_register(pdev, &mmp2_info); 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); return pxa3xx_pinctrl_unregister(pdev);
} }
......
...@@ -522,7 +522,7 @@ int __devinit mxs_pinctrl_probe(struct platform_device *pdev, ...@@ -522,7 +522,7 @@ int __devinit mxs_pinctrl_probe(struct platform_device *pdev,
} }
EXPORT_SYMBOL_GPL(mxs_pinctrl_probe); 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); struct mxs_pinctrl_data *d = platform_get_drvdata(pdev);
......
...@@ -620,7 +620,7 @@ static int __devinit pxa168_pinmux_probe(struct platform_device *pdev) ...@@ -620,7 +620,7 @@ static int __devinit pxa168_pinmux_probe(struct platform_device *pdev)
return pxa3xx_pinctrl_register(pdev, &pxa168_info); 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); return pxa3xx_pinctrl_unregister(pdev);
} }
......
...@@ -976,7 +976,7 @@ static int __devinit pxa910_pinmux_probe(struct platform_device *pdev) ...@@ -976,7 +976,7 @@ static int __devinit pxa910_pinmux_probe(struct platform_device *pdev)
return pxa3xx_pinctrl_register(pdev, &pxa910_info); 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); return pxa3xx_pinctrl_unregister(pdev);
} }
......
...@@ -986,7 +986,7 @@ static int __devinit pcs_probe(struct platform_device *pdev) ...@@ -986,7 +986,7 @@ static int __devinit pcs_probe(struct platform_device *pdev)
return ret; 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); struct pcs_device *pcs = platform_get_drvdata(pdev);
......
...@@ -758,7 +758,7 @@ int __devinit tegra_pinctrl_probe(struct platform_device *pdev, ...@@ -758,7 +758,7 @@ int __devinit tegra_pinctrl_probe(struct platform_device *pdev,
} }
EXPORT_SYMBOL_GPL(tegra_pinctrl_probe); 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); struct tegra_pmx *pmx = platform_get_drvdata(pdev);
......
...@@ -1166,7 +1166,7 @@ static int __devinit u300_pmx_probe(struct platform_device *pdev) ...@@ -1166,7 +1166,7 @@ static int __devinit u300_pmx_probe(struct platform_device *pdev)
return ret; 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); struct u300_pmx *upmx = platform_get_drvdata(pdev);
......
...@@ -344,7 +344,7 @@ int __devinit spear_pinctrl_probe(struct platform_device *pdev, ...@@ -344,7 +344,7 @@ int __devinit spear_pinctrl_probe(struct platform_device *pdev,
return 0; 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); struct spear_pmx *pmx = platform_get_drvdata(pdev);
......
...@@ -138,7 +138,7 @@ struct spear_pmx { ...@@ -138,7 +138,7 @@ struct spear_pmx {
void __devinit pmx_init_addr(struct spear_pinctrl_machdata *machdata, u16 reg); void __devinit pmx_init_addr(struct spear_pinctrl_machdata *machdata, u16 reg);
int __devinit spear_pinctrl_probe(struct platform_device *pdev, int __devinit spear_pinctrl_probe(struct platform_device *pdev,
struct spear_pinctrl_machdata *machdata); 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 \ #define SPEAR_PIN_0_TO_101 \
PINCTRL_PIN(0, "PLGPIO0"), \ PINCTRL_PIN(0, "PLGPIO0"), \
......
...@@ -2440,7 +2440,7 @@ static int __devinit spear1310_pinctrl_probe(struct platform_device *pdev) ...@@ -2440,7 +2440,7 @@ static int __devinit spear1310_pinctrl_probe(struct platform_device *pdev)
return spear_pinctrl_probe(pdev, &spear1310_machdata); 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); return spear_pinctrl_remove(pdev);
} }
......
...@@ -1993,7 +1993,7 @@ static int __devinit spear1340_pinctrl_probe(struct platform_device *pdev) ...@@ -1993,7 +1993,7 @@ static int __devinit spear1340_pinctrl_probe(struct platform_device *pdev)
return spear_pinctrl_probe(pdev, &spear1340_machdata); 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); return spear_pinctrl_remove(pdev);
} }
......
...@@ -675,7 +675,7 @@ static int __devinit spear300_pinctrl_probe(struct platform_device *pdev) ...@@ -675,7 +675,7 @@ static int __devinit spear300_pinctrl_probe(struct platform_device *pdev)
return 0; 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); return spear_pinctrl_remove(pdev);
} }
......
...@@ -398,7 +398,7 @@ static int __devinit spear310_pinctrl_probe(struct platform_device *pdev) ...@@ -398,7 +398,7 @@ static int __devinit spear310_pinctrl_probe(struct platform_device *pdev)
return 0; 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); return spear_pinctrl_remove(pdev);
} }
......
...@@ -3439,7 +3439,7 @@ static int __devinit spear320_pinctrl_probe(struct platform_device *pdev) ...@@ -3439,7 +3439,7 @@ static int __devinit spear320_pinctrl_probe(struct platform_device *pdev)
return 0; 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); return spear_pinctrl_remove(pdev);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment