diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:07:39 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:01 -0500 |
commit | 48c68c4f1b542444f175a9e136febcecf3e704d8 (patch) | |
tree | d28f4f3b42643990c2908d27e9caf120f6234b73 /drivers/video/vt8500lcdfb.c | |
parent | 8590dbc79a0ff5d7ab16b2b1743684c241ae3c65 (diff) |
Drivers: video: 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, __devinitdata,
__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 <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video/vt8500lcdfb.c')
-rw-r--r-- | drivers/video/vt8500lcdfb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/vt8500lcdfb.c b/drivers/video/vt8500lcdfb.c index 9af8da70e781..aa2579c2364a 100644 --- a/drivers/video/vt8500lcdfb.c +++ b/drivers/video/vt8500lcdfb.c | |||
@@ -273,7 +273,7 @@ static irqreturn_t vt8500lcd_handle_irq(int irq, void *dev_id) | |||
273 | return IRQ_HANDLED; | 273 | return IRQ_HANDLED; |
274 | } | 274 | } |
275 | 275 | ||
276 | static int __devinit vt8500lcd_probe(struct platform_device *pdev) | 276 | static int vt8500lcd_probe(struct platform_device *pdev) |
277 | { | 277 | { |
278 | struct vt8500lcd_info *fbi; | 278 | struct vt8500lcd_info *fbi; |
279 | struct resource *res; | 279 | struct resource *res; |
@@ -469,7 +469,7 @@ failed: | |||
469 | return ret; | 469 | return ret; |
470 | } | 470 | } |
471 | 471 | ||
472 | static int __devexit vt8500lcd_remove(struct platform_device *pdev) | 472 | static int vt8500lcd_remove(struct platform_device *pdev) |
473 | { | 473 | { |
474 | struct vt8500lcd_info *fbi = platform_get_drvdata(pdev); | 474 | struct vt8500lcd_info *fbi = platform_get_drvdata(pdev); |
475 | struct resource *res; | 475 | struct resource *res; |
@@ -505,7 +505,7 @@ static const struct of_device_id via_dt_ids[] = { | |||
505 | 505 | ||
506 | static struct platform_driver vt8500lcd_driver = { | 506 | static struct platform_driver vt8500lcd_driver = { |
507 | .probe = vt8500lcd_probe, | 507 | .probe = vt8500lcd_probe, |
508 | .remove = __devexit_p(vt8500lcd_remove), | 508 | .remove = vt8500lcd_remove, |
509 | .driver = { | 509 | .driver = { |
510 | .owner = THIS_MODULE, | 510 | .owner = THIS_MODULE, |
511 | .name = "vt8500-lcd", | 511 | .name = "vt8500-lcd", |