Skip to content
Snippets Groups Projects
Commit 9997d088 authored by Ben Collins's avatar Ben Collins Committed by Linus Torvalds
Browse files

sgy-cts1000: Remove __dev* attributes


Somehow the driver snuck in with these still in it.

Signed-off-by: default avatarBen Collins <ben.c@servergy.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b63dc123
No related branches found
No related tags found
No related merge requests found
...@@ -69,7 +69,7 @@ static irqreturn_t gpio_halt_irq(int irq, void *__data) ...@@ -69,7 +69,7 @@ static irqreturn_t gpio_halt_irq(int irq, void *__data)
return IRQ_HANDLED; return IRQ_HANDLED;
}; };
static int __devinit gpio_halt_probe(struct platform_device *pdev) static int gpio_halt_probe(struct platform_device *pdev)
{ {
enum of_gpio_flags flags; enum of_gpio_flags flags;
struct device_node *node = pdev->dev.of_node; struct device_node *node = pdev->dev.of_node;
...@@ -128,7 +128,7 @@ static int __devinit gpio_halt_probe(struct platform_device *pdev) ...@@ -128,7 +128,7 @@ static int __devinit gpio_halt_probe(struct platform_device *pdev)
return 0; return 0;
} }
static int __devexit gpio_halt_remove(struct platform_device *pdev) static int gpio_halt_remove(struct platform_device *pdev)
{ {
if (halt_node) { if (halt_node) {
int gpio = of_get_gpio(halt_node, 0); int gpio = of_get_gpio(halt_node, 0);
...@@ -165,7 +165,7 @@ static struct platform_driver gpio_halt_driver = { ...@@ -165,7 +165,7 @@ static struct platform_driver gpio_halt_driver = {
.of_match_table = gpio_halt_match, .of_match_table = gpio_halt_match,
}, },
.probe = gpio_halt_probe, .probe = gpio_halt_probe,
.remove = __devexit_p(gpio_halt_remove), .remove = gpio_halt_remove,
}; };
module_platform_driver(gpio_halt_driver); module_platform_driver(gpio_halt_driver);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment