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>
This commit is contained in:
@@ -419,8 +419,7 @@ fail:
|
||||
return rc;
|
||||
}
|
||||
|
||||
static int __devinit i3200_init_one(struct pci_dev *pdev,
|
||||
const struct pci_device_id *ent)
|
||||
static int i3200_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||
{
|
||||
int rc;
|
||||
|
||||
@@ -436,7 +435,7 @@ static int __devinit i3200_init_one(struct pci_dev *pdev,
|
||||
return rc;
|
||||
}
|
||||
|
||||
static void __devexit i3200_remove_one(struct pci_dev *pdev)
|
||||
static void i3200_remove_one(struct pci_dev *pdev)
|
||||
{
|
||||
struct mem_ctl_info *mci;
|
||||
struct i3200_priv *priv;
|
||||
@@ -467,7 +466,7 @@ MODULE_DEVICE_TABLE(pci, i3200_pci_tbl);
|
||||
static struct pci_driver i3200_driver = {
|
||||
.name = EDAC_MOD_STR,
|
||||
.probe = i3200_init_one,
|
||||
.remove = __devexit_p(i3200_remove_one),
|
||||
.remove = i3200_remove_one,
|
||||
.id_table = i3200_pci_tbl,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user