diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:24:23 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:03 -0500 |
commit | 082a2004db27e16ee9a5b1234e6ab219ea29d693 (patch) | |
tree | ab024a2f3bb69e426ef0ef460980083cd938fbe2 /drivers/sbus/char/envctrl.c | |
parent | 9b3c6e85c2cfa731cf67d5a8c49f7d8c60ec0b04 (diff) |
Drivers: sbus: 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: "David S. Miller" <davem@davemloft.net>
Cc: Peter Senna Tschudin <peter.senna@gmail.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/sbus/char/envctrl.c')
-rw-r--r-- | drivers/sbus/char/envctrl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/sbus/char/envctrl.c b/drivers/sbus/char/envctrl.c index 0bc18569f9c0..ddbe5a9e713d 100644 --- a/drivers/sbus/char/envctrl.c +++ b/drivers/sbus/char/envctrl.c | |||
@@ -1028,7 +1028,7 @@ static int kenvctrld(void *__unused) | |||
1028 | return 0; | 1028 | return 0; |
1029 | } | 1029 | } |
1030 | 1030 | ||
1031 | static int __devinit envctrl_probe(struct platform_device *op) | 1031 | static int envctrl_probe(struct platform_device *op) |
1032 | { | 1032 | { |
1033 | struct device_node *dp; | 1033 | struct device_node *dp; |
1034 | int index, err; | 1034 | int index, err; |
@@ -1104,7 +1104,7 @@ out_iounmap: | |||
1104 | return err; | 1104 | return err; |
1105 | } | 1105 | } |
1106 | 1106 | ||
1107 | static int __devexit envctrl_remove(struct platform_device *op) | 1107 | static int envctrl_remove(struct platform_device *op) |
1108 | { | 1108 | { |
1109 | int index; | 1109 | int index; |
1110 | 1110 | ||
@@ -1135,7 +1135,7 @@ static struct platform_driver envctrl_driver = { | |||
1135 | .of_match_table = envctrl_match, | 1135 | .of_match_table = envctrl_match, |
1136 | }, | 1136 | }, |
1137 | .probe = envctrl_probe, | 1137 | .probe = envctrl_probe, |
1138 | .remove = __devexit_p(envctrl_remove), | 1138 | .remove = envctrl_remove, |
1139 | }; | 1139 | }; |
1140 | 1140 | ||
1141 | module_platform_driver(envctrl_driver); | 1141 | module_platform_driver(envctrl_driver); |