aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-rc5t583.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-rc5t583.c')
-rw-r--r--drivers/gpio/gpio-rc5t583.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-rc5t583.c b/drivers/gpio/gpio-rc5t583.c
index 08428bf17718..e63d6a397e17 100644
--- a/drivers/gpio/gpio-rc5t583.c
+++ b/drivers/gpio/gpio-rc5t583.c
@@ -111,7 +111,7 @@ static void rc5t583_gpio_free(struct gpio_chip *gc, unsigned offset)
111 rc5t583_set_bits(parent, RC5T583_GPIO_PGSEL, BIT(offset)); 111 rc5t583_set_bits(parent, RC5T583_GPIO_PGSEL, BIT(offset));
112} 112}
113 113
114static int __devinit rc5t583_gpio_probe(struct platform_device *pdev) 114static int rc5t583_gpio_probe(struct platform_device *pdev)
115{ 115{
116 struct rc5t583 *rc5t583 = dev_get_drvdata(pdev->dev.parent); 116 struct rc5t583 *rc5t583 = dev_get_drvdata(pdev->dev.parent);
117 struct rc5t583_platform_data *pdata = dev_get_platdata(rc5t583->dev); 117 struct rc5t583_platform_data *pdata = dev_get_platdata(rc5t583->dev);
@@ -146,7 +146,7 @@ static int __devinit rc5t583_gpio_probe(struct platform_device *pdev)
146 return gpiochip_add(&rc5t583_gpio->gpio_chip); 146 return gpiochip_add(&rc5t583_gpio->gpio_chip);
147} 147}
148 148
149static int __devexit rc5t583_gpio_remove(struct platform_device *pdev) 149static int rc5t583_gpio_remove(struct platform_device *pdev)
150{ 150{
151 struct rc5t583_gpio *rc5t583_gpio = platform_get_drvdata(pdev); 151 struct rc5t583_gpio *rc5t583_gpio = platform_get_drvdata(pdev);
152 152
@@ -159,7 +159,7 @@ static struct platform_driver rc5t583_gpio_driver = {
159 .owner = THIS_MODULE, 159 .owner = THIS_MODULE,
160 }, 160 },
161 .probe = rc5t583_gpio_probe, 161 .probe = rc5t583_gpio_probe,
162 .remove = __devexit_p(rc5t583_gpio_remove), 162 .remove = rc5t583_gpio_remove,
163}; 163};
164 164
165static int __init rc5t583_gpio_init(void) 165static int __init rc5t583_gpio_init(void)