diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:02:30 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:01 -0500 |
commit | 6dfb6715b58a9d184188188779f9f8f27e558042 (patch) | |
tree | b45223fc6b7e01806b5182fe20b6cd94050a4d57 /drivers/vlynq | |
parent | b92c914d02ad7a77513076515ffe9f26db1fe8af (diff) |
Drivers: vlynq: 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, 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>
Cc: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/vlynq')
-rw-r--r-- | drivers/vlynq/vlynq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/vlynq/vlynq.c b/drivers/vlynq/vlynq.c index aa250cebecd2..7b07135ab26e 100644 --- a/drivers/vlynq/vlynq.c +++ b/drivers/vlynq/vlynq.c | |||
@@ -772,7 +772,7 @@ static int vlynq_remove(struct platform_device *pdev) | |||
772 | static struct platform_driver vlynq_platform_driver = { | 772 | static struct platform_driver vlynq_platform_driver = { |
773 | .driver.name = "vlynq", | 773 | .driver.name = "vlynq", |
774 | .probe = vlynq_probe, | 774 | .probe = vlynq_probe, |
775 | .remove = __devexit_p(vlynq_remove), | 775 | .remove = vlynq_remove, |
776 | }; | 776 | }; |
777 | 777 | ||
778 | struct bus_type vlynq_bus_type = { | 778 | struct bus_type vlynq_bus_type = { |
@@ -783,7 +783,7 @@ struct bus_type vlynq_bus_type = { | |||
783 | }; | 783 | }; |
784 | EXPORT_SYMBOL(vlynq_bus_type); | 784 | EXPORT_SYMBOL(vlynq_bus_type); |
785 | 785 | ||
786 | static int __devinit vlynq_init(void) | 786 | static int vlynq_init(void) |
787 | { | 787 | { |
788 | int res = 0; | 788 | int res = 0; |
789 | 789 | ||
@@ -803,7 +803,7 @@ fail_bus: | |||
803 | return res; | 803 | return res; |
804 | } | 804 | } |
805 | 805 | ||
806 | static void __devexit vlynq_exit(void) | 806 | static void vlynq_exit(void) |
807 | { | 807 | { |
808 | platform_driver_unregister(&vlynq_platform_driver); | 808 | platform_driver_unregister(&vlynq_platform_driver); |
809 | bus_unregister(&vlynq_bus_type); | 809 | bus_unregister(&vlynq_bus_type); |