diff options
| author | Ben Collins <benmcollins13@gmail.com> | 2013-03-18 19:19:07 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-03-18 21:49:10 -0400 |
| commit | 9997d08806062cb7ba471ab12fa2742cfec2f413 (patch) | |
| tree | 6b7878f7b5147a6227d6188b7159d0944a1e8b04 | |
| parent | b63dc123b20e54a306ff1bfa191e511c506ee331 (diff) | |
sgy-cts1000: Remove __dev* attributes
Somehow the driver snuck in with these still in it.
Signed-off-by: Ben Collins <ben.c@servergy.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
| -rw-r--r-- | arch/powerpc/platforms/85xx/sgy_cts1000.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/85xx/sgy_cts1000.c b/arch/powerpc/platforms/85xx/sgy_cts1000.c index 611e92f291c4..7179726ba5c5 100644 --- a/arch/powerpc/platforms/85xx/sgy_cts1000.c +++ b/arch/powerpc/platforms/85xx/sgy_cts1000.c | |||
| @@ -69,7 +69,7 @@ static irqreturn_t gpio_halt_irq(int irq, void *__data) | |||
| 69 | return IRQ_HANDLED; | 69 | return IRQ_HANDLED; |
| 70 | }; | 70 | }; |
| 71 | 71 | ||
| 72 | static int __devinit gpio_halt_probe(struct platform_device *pdev) | 72 | static int gpio_halt_probe(struct platform_device *pdev) |
| 73 | { | 73 | { |
| 74 | enum of_gpio_flags flags; | 74 | enum of_gpio_flags flags; |
| 75 | struct device_node *node = pdev->dev.of_node; | 75 | struct device_node *node = pdev->dev.of_node; |
| @@ -128,7 +128,7 @@ static int __devinit gpio_halt_probe(struct platform_device *pdev) | |||
| 128 | return 0; | 128 | return 0; |
| 129 | } | 129 | } |
| 130 | 130 | ||
| 131 | static int __devexit gpio_halt_remove(struct platform_device *pdev) | 131 | static int gpio_halt_remove(struct platform_device *pdev) |
| 132 | { | 132 | { |
| 133 | if (halt_node) { | 133 | if (halt_node) { |
| 134 | int gpio = of_get_gpio(halt_node, 0); | 134 | int gpio = of_get_gpio(halt_node, 0); |
| @@ -165,7 +165,7 @@ static struct platform_driver gpio_halt_driver = { | |||
| 165 | .of_match_table = gpio_halt_match, | 165 | .of_match_table = gpio_halt_match, |
| 166 | }, | 166 | }, |
| 167 | .probe = gpio_halt_probe, | 167 | .probe = gpio_halt_probe, |
| 168 | .remove = __devexit_p(gpio_halt_remove), | 168 | .remove = gpio_halt_remove, |
| 169 | }; | 169 | }; |
| 170 | 170 | ||
| 171 | module_platform_driver(gpio_halt_driver); | 171 | module_platform_driver(gpio_halt_driver); |
