From 4bf27b8b333bcd291664fd0f7d129099d474a23b Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Fri, 21 Dec 2012 15:09:59 -0800 Subject: Drivers: dma: remove __dev* attributes. CONFIG_HOTPLUG is going away as an option. As a result, the __dev* markings need to be removed. This change removes the use of __devinit, __devexit_p, __devinitconst, and __devexit from these drivers. Based on patches originally written by Bill Pemberton, but redone by me in order to handle some of the coding style issues better, by hand. Cc: Bill Pemberton Cc: Viresh Kumar Cc: Dan Williams Cc: Vinod Koul Cc: Barry Song Cc: Jeff Kirsher Cc: Alexander Duyck Cc: Russell King Cc: Linus Walleij Cc: Jassi Brar Cc: Dave Jiang Cc: Bill Pemberton Cc: Guennadi Liakhovetski Signed-off-by: Greg Kroah-Hartman --- drivers/dma/sirf-dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/dma/sirf-dma.c') diff --git a/drivers/dma/sirf-dma.c b/drivers/dma/sirf-dma.c index c3de6edb9651..94674a96c646 100644 --- a/drivers/dma/sirf-dma.c +++ b/drivers/dma/sirf-dma.c @@ -655,7 +655,7 @@ irq_dispose: return ret; } -static int __devexit sirfsoc_dma_remove(struct platform_device *op) +static int sirfsoc_dma_remove(struct platform_device *op) { struct device *dev = &op->dev; struct sirfsoc_dma *sdma = dev_get_drvdata(dev); -- cgit v1.2.3