diff options
Diffstat (limited to 'drivers/gpio/gpio-wm8350.c')
| -rw-r--r-- | drivers/gpio/gpio-wm8350.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-wm8350.c b/drivers/gpio/gpio-wm8350.c index fb4293889392..0b598cf3df9d 100644 --- a/drivers/gpio/gpio-wm8350.c +++ b/drivers/gpio/gpio-wm8350.c | |||
| @@ -109,7 +109,7 @@ static struct gpio_chip template_chip = { | |||
| 109 | .can_sleep = 1, | 109 | .can_sleep = 1, |
| 110 | }; | 110 | }; |
| 111 | 111 | ||
| 112 | static int __devinit wm8350_gpio_probe(struct platform_device *pdev) | 112 | static int wm8350_gpio_probe(struct platform_device *pdev) |
| 113 | { | 113 | { |
| 114 | struct wm8350 *wm8350 = dev_get_drvdata(pdev->dev.parent); | 114 | struct wm8350 *wm8350 = dev_get_drvdata(pdev->dev.parent); |
| 115 | struct wm8350_platform_data *pdata = wm8350->dev->platform_data; | 115 | struct wm8350_platform_data *pdata = wm8350->dev->platform_data; |
| @@ -141,7 +141,7 @@ static int __devinit wm8350_gpio_probe(struct platform_device *pdev) | |||
| 141 | return ret; | 141 | return ret; |
| 142 | } | 142 | } |
| 143 | 143 | ||
| 144 | static int __devexit wm8350_gpio_remove(struct platform_device *pdev) | 144 | static int wm8350_gpio_remove(struct platform_device *pdev) |
| 145 | { | 145 | { |
| 146 | struct wm8350_gpio_data *wm8350_gpio = platform_get_drvdata(pdev); | 146 | struct wm8350_gpio_data *wm8350_gpio = platform_get_drvdata(pdev); |
| 147 | 147 | ||
| @@ -152,7 +152,7 @@ static struct platform_driver wm8350_gpio_driver = { | |||
| 152 | .driver.name = "wm8350-gpio", | 152 | .driver.name = "wm8350-gpio", |
| 153 | .driver.owner = THIS_MODULE, | 153 | .driver.owner = THIS_MODULE, |
| 154 | .probe = wm8350_gpio_probe, | 154 | .probe = wm8350_gpio_probe, |
| 155 | .remove = __devexit_p(wm8350_gpio_remove), | 155 | .remove = wm8350_gpio_remove, |
| 156 | }; | 156 | }; |
| 157 | 157 | ||
| 158 | static int __init wm8350_gpio_init(void) | 158 | static int __init wm8350_gpio_init(void) |
