summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-max77660.c
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@nvidia.com>2013-06-16 19:31:14 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:15:04 -0700
commit786d24428bc997a948dfb4ce2985167e9627da43 (patch)
tree77a744b02156dd30f099a988c5170ecd00752e5f /drivers/gpio/gpio-max77660.c
parent8e0fc35e02ff801026b40387ac7f53c8d252b1fc (diff)
fixup: remove __dev*
Diffstat (limited to 'drivers/gpio/gpio-max77660.c')
-rw-r--r--drivers/gpio/gpio-max77660.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-max77660.c b/drivers/gpio/gpio-max77660.c
index 091c805a4020..f6d18b92bf56 100644
--- a/drivers/gpio/gpio-max77660.c
+++ b/drivers/gpio/gpio-max77660.c
@@ -287,7 +287,7 @@ static void max77660_gpio_irq_remove(struct max77660_gpio *max77660_gpio)
chip->gpio_irq_data = NULL;
}
-static int __devinit max77660_gpio_probe(struct platform_device *pdev)
+static int max77660_gpio_probe(struct platform_device *pdev)
{
struct max77660_platform_data *pdata;
struct max77660_gpio *max77660_gpio;
@@ -355,7 +355,7 @@ fail:
return ret;
}
-static int __devexit max77660_gpio_remove(struct platform_device *pdev)
+static int max77660_gpio_remove(struct platform_device *pdev)
{
struct max77660_gpio *max77660_gpio = platform_get_drvdata(pdev);
int ret;
@@ -373,7 +373,7 @@ static struct platform_driver max77660_gpio_driver = {
.driver.name = "max77660-gpio",
.driver.owner = THIS_MODULE,
.probe = max77660_gpio_probe,
- .remove = __devexit_p(max77660_gpio_remove),
+ .remove = max77660_gpio_remove,
};
static int __init max77660_gpio_init(void)