* [PATCH] sgy-cts1000: Remove __dev* attributes
@ 2013-03-18 23:19 Ben Collins
2013-04-03 16:46 ` Kumar Gala
0 siblings, 1 reply; 2+ messages in thread
From: Ben Collins @ 2013-03-18 23:19 UTC (permalink / raw)
To: Linus Torvalds
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Somehow the driver snuck in with these still in it.
Signed-off-by: Ben Collins <ben.c@servergy.com>
---
arch/powerpc/platforms/85xx/sgy_cts1000.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/platforms/85xx/sgy_cts1000.c =
b/arch/powerpc/platforms/85xx/sgy_cts1000.c
index 611e92f..7179726 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)
return IRQ_HANDLED;
};
=20
-static int __devinit gpio_halt_probe(struct platform_device *pdev)
+static int gpio_halt_probe(struct platform_device *pdev)
{
enum of_gpio_flags flags;
struct device_node *node =3D pdev->dev.of_node;
@@ -128,7 +128,7 @@ static int __devinit gpio_halt_probe(struct =
platform_device *pdev)
return 0;
}
=20
-static int __devexit gpio_halt_remove(struct platform_device *pdev)
+static int gpio_halt_remove(struct platform_device *pdev)
{
if (halt_node) {
int gpio =3D of_get_gpio(halt_node, 0);
@@ -165,7 +165,7 @@ static struct platform_driver gpio_halt_driver =3D {
.of_match_table =3D gpio_halt_match,
},
.probe =3D gpio_halt_probe,
- .remove =3D __devexit_p(gpio_halt_remove),
+ .remove =3D gpio_halt_remove,
};
=20
module_platform_driver(gpio_halt_driver);
--=20
1.8.1.2
--
Servergy : http://www.servergy.com/
SwissDisk : http://www.swissdisk.com/
Ubuntu : http://www.ubuntu.com/
My Blog : http://ben-collins.blogspot.com/
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-03 16:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-18 23:19 [PATCH] sgy-cts1000: Remove __dev* attributes Ben Collins
2013-04-03 16:46 ` Kumar Gala
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox