diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 18:12:08 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:15 -0500 |
commit | bcd2982a0e2af8d0506271b439af4b568fc33fdc (patch) | |
tree | 1806ed7f69375fbef68e46c8ee5277fd5b18dced /drivers/char/ipmi/ipmi_si_intf.c | |
parent | 1850514b3ebde0f5eeedbe918a7d0d344b752653 (diff) |
Drivers: char: 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>
Cc: David Airlie <airlied@linux.ie>
Cc: Matt Mackall <mpm@selenic.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/ipmi/ipmi_si_intf.c')
-rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index cfdfecd5bc76..1c7fdcd22a98 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c | |||
@@ -2243,7 +2243,7 @@ static const struct pnp_device_id pnp_dev_table[] = { | |||
2243 | static struct pnp_driver ipmi_pnp_driver = { | 2243 | static struct pnp_driver ipmi_pnp_driver = { |
2244 | .name = DEVICE_NAME, | 2244 | .name = DEVICE_NAME, |
2245 | .probe = ipmi_pnp_probe, | 2245 | .probe = ipmi_pnp_probe, |
2246 | .remove = __devexit_p(ipmi_pnp_remove), | 2246 | .remove = ipmi_pnp_remove, |
2247 | .id_table = pnp_dev_table, | 2247 | .id_table = pnp_dev_table, |
2248 | }; | 2248 | }; |
2249 | #endif | 2249 | #endif |
@@ -2546,7 +2546,7 @@ static struct pci_driver ipmi_pci_driver = { | |||
2546 | .name = DEVICE_NAME, | 2546 | .name = DEVICE_NAME, |
2547 | .id_table = ipmi_pci_devices, | 2547 | .id_table = ipmi_pci_devices, |
2548 | .probe = ipmi_pci_probe, | 2548 | .probe = ipmi_pci_probe, |
2549 | .remove = __devexit_p(ipmi_pci_remove), | 2549 | .remove = ipmi_pci_remove, |
2550 | }; | 2550 | }; |
2551 | #endif /* CONFIG_PCI */ | 2551 | #endif /* CONFIG_PCI */ |
2552 | 2552 | ||
@@ -2661,7 +2661,7 @@ static struct platform_driver ipmi_driver = { | |||
2661 | .of_match_table = ipmi_match, | 2661 | .of_match_table = ipmi_match, |
2662 | }, | 2662 | }, |
2663 | .probe = ipmi_probe, | 2663 | .probe = ipmi_probe, |
2664 | .remove = __devexit_p(ipmi_remove), | 2664 | .remove = ipmi_remove, |
2665 | }; | 2665 | }; |
2666 | 2666 | ||
2667 | static int wait_for_msg_done(struct smi_info *smi_info) | 2667 | static int wait_for_msg_done(struct smi_info *smi_info) |