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/xilinxfb.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/xilinxfb.c')
-rw-r--r-- | drivers/video/xilinxfb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c index 18084525402a..af0b4fdf9aa9 100644 --- a/drivers/video/xilinxfb.c +++ b/drivers/video/xilinxfb.c | |||
@@ -403,7 +403,7 @@ static int xilinxfb_release(struct device *dev) | |||
403 | * OF bus binding | 403 | * OF bus binding |
404 | */ | 404 | */ |
405 | 405 | ||
406 | static int __devinit xilinxfb_of_probe(struct platform_device *op) | 406 | static int xilinxfb_of_probe(struct platform_device *op) |
407 | { | 407 | { |
408 | const u32 *prop; | 408 | const u32 *prop; |
409 | u32 *p; | 409 | u32 *p; |
@@ -485,13 +485,13 @@ static int __devinit xilinxfb_of_probe(struct platform_device *op) | |||
485 | return -ENODEV; | 485 | return -ENODEV; |
486 | } | 486 | } |
487 | 487 | ||
488 | static int __devexit xilinxfb_of_remove(struct platform_device *op) | 488 | static int xilinxfb_of_remove(struct platform_device *op) |
489 | { | 489 | { |
490 | return xilinxfb_release(&op->dev); | 490 | return xilinxfb_release(&op->dev); |
491 | } | 491 | } |
492 | 492 | ||
493 | /* Match table for of_platform binding */ | 493 | /* Match table for of_platform binding */ |
494 | static struct of_device_id xilinxfb_of_match[] __devinitdata = { | 494 | static struct of_device_id xilinxfb_of_match[] = { |
495 | { .compatible = "xlnx,xps-tft-1.00.a", }, | 495 | { .compatible = "xlnx,xps-tft-1.00.a", }, |
496 | { .compatible = "xlnx,xps-tft-2.00.a", }, | 496 | { .compatible = "xlnx,xps-tft-2.00.a", }, |
497 | { .compatible = "xlnx,xps-tft-2.01.a", }, | 497 | { .compatible = "xlnx,xps-tft-2.01.a", }, |
@@ -503,7 +503,7 @@ MODULE_DEVICE_TABLE(of, xilinxfb_of_match); | |||
503 | 503 | ||
504 | static struct platform_driver xilinxfb_of_driver = { | 504 | static struct platform_driver xilinxfb_of_driver = { |
505 | .probe = xilinxfb_of_probe, | 505 | .probe = xilinxfb_of_probe, |
506 | .remove = __devexit_p(xilinxfb_of_remove), | 506 | .remove = xilinxfb_of_remove, |
507 | .driver = { | 507 | .driver = { |
508 | .name = DRIVER_NAME, | 508 | .name = DRIVER_NAME, |
509 | .owner = THIS_MODULE, | 509 | .owner = THIS_MODULE, |