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/mpc85xx_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/mpc85xx_edac.c')
-rw-r--r-- | drivers/edac/mpc85xx_edac.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/edac/mpc85xx_edac.c b/drivers/edac/mpc85xx_edac.c index 4fe66fa183ec..42a840d530a5 100644 --- a/drivers/edac/mpc85xx_edac.c +++ b/drivers/edac/mpc85xx_edac.c | |||
@@ -212,7 +212,7 @@ static irqreturn_t mpc85xx_pci_isr(int irq, void *dev_id) | |||
212 | return IRQ_HANDLED; | 212 | return IRQ_HANDLED; |
213 | } | 213 | } |
214 | 214 | ||
215 | int __devinit mpc85xx_pci_err_probe(struct platform_device *op) | 215 | int mpc85xx_pci_err_probe(struct platform_device *op) |
216 | { | 216 | { |
217 | struct edac_pci_ctl_info *pci; | 217 | struct edac_pci_ctl_info *pci; |
218 | struct mpc85xx_pci_pdata *pdata; | 218 | struct mpc85xx_pci_pdata *pdata; |
@@ -504,7 +504,7 @@ static irqreturn_t mpc85xx_l2_isr(int irq, void *dev_id) | |||
504 | return IRQ_HANDLED; | 504 | return IRQ_HANDLED; |
505 | } | 505 | } |
506 | 506 | ||
507 | static int __devinit mpc85xx_l2_err_probe(struct platform_device *op) | 507 | static int mpc85xx_l2_err_probe(struct platform_device *op) |
508 | { | 508 | { |
509 | struct edac_device_ctl_info *edac_dev; | 509 | struct edac_device_ctl_info *edac_dev; |
510 | struct mpc85xx_l2_pdata *pdata; | 510 | struct mpc85xx_l2_pdata *pdata; |
@@ -885,7 +885,7 @@ static irqreturn_t mpc85xx_mc_isr(int irq, void *dev_id) | |||
885 | return IRQ_HANDLED; | 885 | return IRQ_HANDLED; |
886 | } | 886 | } |
887 | 887 | ||
888 | static void __devinit mpc85xx_init_csrows(struct mem_ctl_info *mci) | 888 | static void mpc85xx_init_csrows(struct mem_ctl_info *mci) |
889 | { | 889 | { |
890 | struct mpc85xx_mc_pdata *pdata = mci->pvt_info; | 890 | struct mpc85xx_mc_pdata *pdata = mci->pvt_info; |
891 | struct csrow_info *csrow; | 891 | struct csrow_info *csrow; |
@@ -964,7 +964,7 @@ static void __devinit mpc85xx_init_csrows(struct mem_ctl_info *mci) | |||
964 | } | 964 | } |
965 | } | 965 | } |
966 | 966 | ||
967 | static int __devinit mpc85xx_mc_err_probe(struct platform_device *op) | 967 | static int mpc85xx_mc_err_probe(struct platform_device *op) |
968 | { | 968 | { |
969 | struct mem_ctl_info *mci; | 969 | struct mem_ctl_info *mci; |
970 | struct edac_mc_layer layers[2]; | 970 | struct edac_mc_layer layers[2]; |