POWERPC: drivers: 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: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Greg Kroah-Hartman 2012-12-21 14:04:10 -08:00
parent 7c9503b838
commit cad5cef62a
65 changed files with 172 additions and 188 deletions

View file

@ -36,7 +36,7 @@
static int fsl_pcie_bus_fixup, is_mpc83xx_pci;
static void __devinit quirk_fsl_pcie_header(struct pci_dev *dev)
static void quirk_fsl_pcie_header(struct pci_dev *dev)
{
u8 hdr_type;
@ -871,7 +871,7 @@ void fsl_pci_assign_primary(void)
}
}
static int __devinit fsl_pci_probe(struct platform_device *pdev)
static int fsl_pci_probe(struct platform_device *pdev)
{
int ret;
struct device_node *node;