aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-rdc321x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-rdc321x.c')
-rw-r--r--drivers/gpio/gpio-rdc321x.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-rdc321x.c b/drivers/gpio/gpio-rdc321x.c
index b62d443e9a59..1bf55f67f7a5 100644
--- a/drivers/gpio/gpio-rdc321x.c
+++ b/drivers/gpio/gpio-rdc321x.c
@@ -128,7 +128,7 @@ static int rdc_gpio_direction_input(struct gpio_chip *chip, unsigned gpio)
128/* 128/*
129 * Cache the initial value of both GPIO data registers 129 * Cache the initial value of both GPIO data registers
130 */ 130 */
131static int __devinit rdc321x_gpio_probe(struct platform_device *pdev) 131static int rdc321x_gpio_probe(struct platform_device *pdev)
132{ 132{
133 int err; 133 int err;
134 struct resource *r; 134 struct resource *r;
@@ -206,7 +206,7 @@ out_free:
206 return err; 206 return err;
207} 207}
208 208
209static int __devexit rdc321x_gpio_remove(struct platform_device *pdev) 209static int rdc321x_gpio_remove(struct platform_device *pdev)
210{ 210{
211 int ret; 211 int ret;
212 struct rdc321x_gpio *rdc321x_gpio_dev = platform_get_drvdata(pdev); 212 struct rdc321x_gpio *rdc321x_gpio_dev = platform_get_drvdata(pdev);
@@ -225,7 +225,7 @@ static struct platform_driver rdc321x_gpio_driver = {
225 .driver.name = "rdc321x-gpio", 225 .driver.name = "rdc321x-gpio",
226 .driver.owner = THIS_MODULE, 226 .driver.owner = THIS_MODULE,
227 .probe = rdc321x_gpio_probe, 227 .probe = rdc321x_gpio_probe,
228 .remove = __devexit_p(rdc321x_gpio_remove), 228 .remove = rdc321x_gpio_remove,
229}; 229};
230 230
231module_platform_driver(rdc321x_gpio_driver); 231module_platform_driver(rdc321x_gpio_driver);