diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 18:10:52 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:15 -0500 |
commit | 163247c1d274279aa4ac1aa0891858c7a50195c0 (patch) | |
tree | af6ea45d96e90fec3d4e8588deec79afaa071b78 /drivers/ssb/pcihost_wrapper.c | |
parent | 4bf27b8b333bcd291664fd0f7d129099d474a23b (diff) |
Drivers: ssb: 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, 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: Michael Buesch <m@bues.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ssb/pcihost_wrapper.c')
-rw-r--r-- | drivers/ssb/pcihost_wrapper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ssb/pcihost_wrapper.c b/drivers/ssb/pcihost_wrapper.c index af5448f5e2d2..32ed1fa4a82e 100644 --- a/drivers/ssb/pcihost_wrapper.c +++ b/drivers/ssb/pcihost_wrapper.c | |||
@@ -54,8 +54,8 @@ static int ssb_pcihost_resume(struct pci_dev *dev) | |||
54 | # define ssb_pcihost_resume NULL | 54 | # define ssb_pcihost_resume NULL |
55 | #endif /* CONFIG_PM */ | 55 | #endif /* CONFIG_PM */ |
56 | 56 | ||
57 | static int __devinit ssb_pcihost_probe(struct pci_dev *dev, | 57 | static int ssb_pcihost_probe(struct pci_dev *dev, |
58 | const struct pci_device_id *id) | 58 | const struct pci_device_id *id) |
59 | { | 59 | { |
60 | struct ssb_bus *ssb; | 60 | struct ssb_bus *ssb; |
61 | int err = -ENOMEM; | 61 | int err = -ENOMEM; |
@@ -111,7 +111,7 @@ static void ssb_pcihost_remove(struct pci_dev *dev) | |||
111 | pci_set_drvdata(dev, NULL); | 111 | pci_set_drvdata(dev, NULL); |
112 | } | 112 | } |
113 | 113 | ||
114 | int __devinit ssb_pcihost_register(struct pci_driver *driver) | 114 | int ssb_pcihost_register(struct pci_driver *driver) |
115 | { | 115 | { |
116 | driver->probe = ssb_pcihost_probe; | 116 | driver->probe = ssb_pcihost_probe; |
117 | driver->remove = ssb_pcihost_remove; | 117 | driver->remove = ssb_pcihost_remove; |