diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:23:51 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:03 -0500 |
commit | 9b3c6e85c2cfa731cf67d5a8c49f7d8c60ec0b04 (patch) | |
tree | 1aa850545cc894e835199b877edf93c6a340e58d /drivers/edac/amd64_edac.c | |
parent | 312facaf924edd4db6b81e3a1518adf56c9cd8bd (diff) |
Drivers: edac: 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: Doug Thompson <dougthompson@xmission.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Mark Gross <mark.gross@intel.com>
Cc: Jason Uhlenkott <juhlenko@akamai.com>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Tim Small <tim@buttersideup.com>
Cc: Ranganathan Desikan <ravi@jetztechnologies.com>
Cc: "Arvind R." <arvino55@gmail.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: David Daney <david.daney@cavium.com>
Cc: Egor Martovetsky <egor@pasemi.com>
Cc: Olof Johansson <olof@lixom.net>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/edac/amd64_edac.c')
-rw-r--r-- | drivers/edac/amd64_edac.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c index f74a684269ff..ad8bf2aa629d 100644 --- a/drivers/edac/amd64_edac.c +++ b/drivers/edac/amd64_edac.c | |||
@@ -2563,8 +2563,8 @@ err_ret: | |||
2563 | return ret; | 2563 | return ret; |
2564 | } | 2564 | } |
2565 | 2565 | ||
2566 | static int __devinit amd64_probe_one_instance(struct pci_dev *pdev, | 2566 | static int amd64_probe_one_instance(struct pci_dev *pdev, |
2567 | const struct pci_device_id *mc_type) | 2567 | const struct pci_device_id *mc_type) |
2568 | { | 2568 | { |
2569 | u8 nid = get_node_id(pdev); | 2569 | u8 nid = get_node_id(pdev); |
2570 | struct pci_dev *F3 = node_to_amd_nb(nid)->misc; | 2570 | struct pci_dev *F3 = node_to_amd_nb(nid)->misc; |
@@ -2612,7 +2612,7 @@ err_out: | |||
2612 | return ret; | 2612 | return ret; |
2613 | } | 2613 | } |
2614 | 2614 | ||
2615 | static void __devexit amd64_remove_one_instance(struct pci_dev *pdev) | 2615 | static void amd64_remove_one_instance(struct pci_dev *pdev) |
2616 | { | 2616 | { |
2617 | struct mem_ctl_info *mci; | 2617 | struct mem_ctl_info *mci; |
2618 | struct amd64_pvt *pvt; | 2618 | struct amd64_pvt *pvt; |
@@ -2686,7 +2686,7 @@ MODULE_DEVICE_TABLE(pci, amd64_pci_table); | |||
2686 | static struct pci_driver amd64_pci_driver = { | 2686 | static struct pci_driver amd64_pci_driver = { |
2687 | .name = EDAC_MOD_STR, | 2687 | .name = EDAC_MOD_STR, |
2688 | .probe = amd64_probe_one_instance, | 2688 | .probe = amd64_probe_one_instance, |
2689 | .remove = __devexit_p(amd64_remove_one_instance), | 2689 | .remove = amd64_remove_one_instance, |
2690 | .id_table = amd64_pci_table, | 2690 | .id_table = amd64_pci_table, |
2691 | }; | 2691 | }; |
2692 | 2692 | ||