aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-sch.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-sch.c')
-rw-r--r--drivers/gpio/gpio-sch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-sch.c b/drivers/gpio/gpio-sch.c
index 8707d4572a06..edae963f4625 100644
--- a/drivers/gpio/gpio-sch.c
+++ b/drivers/gpio/gpio-sch.c
@@ -185,7 +185,7 @@ static struct gpio_chip sch_gpio_resume = {
185 .set = sch_gpio_resume_set, 185 .set = sch_gpio_resume_set,
186}; 186};
187 187
188static int __devinit sch_gpio_probe(struct platform_device *pdev) 188static int sch_gpio_probe(struct platform_device *pdev)
189{ 189{
190 struct resource *res; 190 struct resource *res;
191 int err, id; 191 int err, id;
@@ -271,7 +271,7 @@ err_sch_gpio_core:
271 return err; 271 return err;
272} 272}
273 273
274static int __devexit sch_gpio_remove(struct platform_device *pdev) 274static int sch_gpio_remove(struct platform_device *pdev)
275{ 275{
276 struct resource *res; 276 struct resource *res;
277 if (gpio_ba) { 277 if (gpio_ba) {
@@ -303,7 +303,7 @@ static struct platform_driver sch_gpio_driver = {
303 .owner = THIS_MODULE, 303 .owner = THIS_MODULE,
304 }, 304 },
305 .probe = sch_gpio_probe, 305 .probe = sch_gpio_probe,
306 .remove = __devexit_p(sch_gpio_remove), 306 .remove = sch_gpio_remove,
307}; 307};
308 308
309module_platform_driver(sch_gpio_driver); 309module_platform_driver(sch_gpio_driver);