diff options
Diffstat (limited to 'drivers/switch/switch_gpio.c')
-rw-r--r-- | drivers/switch/switch_gpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/switch/switch_gpio.c b/drivers/switch/switch_gpio.c index 7e9faa211e48..15d5f04b3dfd 100644 --- a/drivers/switch/switch_gpio.c +++ b/drivers/switch/switch_gpio.c @@ -133,7 +133,7 @@ err_switch_dev_register: return ret; } -static int __devexit gpio_switch_remove(struct platform_device *pdev) +static int gpio_switch_remove(struct platform_device *pdev) { struct gpio_switch_data *switch_data = platform_get_drvdata(pdev); @@ -147,7 +147,7 @@ static int __devexit gpio_switch_remove(struct platform_device *pdev) static struct platform_driver gpio_switch_driver = { .probe = gpio_switch_probe, - .remove = __devexit_p(gpio_switch_remove), + .remove = gpio_switch_remove, .driver = { .name = "switch-gpio", .owner = THIS_MODULE, |