diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 17:04:10 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:04 -0500 |
commit | cad5cef62a5a0c525d39118d2e94b6e2034d5e05 (patch) | |
tree | 52fec4c4e7b37231168add4c0e2f32d45528cb19 /arch/powerpc/sysdev/fsl_ifc.c | |
parent | 7c9503b8382cc41933d8a2f57f78b9dc3f975612 (diff) |
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>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_ifc.c')
-rw-r--r-- | arch/powerpc/sysdev/fsl_ifc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/fsl_ifc.c b/arch/powerpc/sysdev/fsl_ifc.c index 097cc9d2585b..2a36fd6a9583 100644 --- a/arch/powerpc/sysdev/fsl_ifc.c +++ b/arch/powerpc/sysdev/fsl_ifc.c | |||
@@ -73,7 +73,7 @@ int fsl_ifc_find(phys_addr_t addr_base) | |||
73 | } | 73 | } |
74 | EXPORT_SYMBOL(fsl_ifc_find); | 74 | EXPORT_SYMBOL(fsl_ifc_find); |
75 | 75 | ||
76 | static int __devinit fsl_ifc_ctrl_init(struct fsl_ifc_ctrl *ctrl) | 76 | static int fsl_ifc_ctrl_init(struct fsl_ifc_ctrl *ctrl) |
77 | { | 77 | { |
78 | struct fsl_ifc_regs __iomem *ifc = ctrl->regs; | 78 | struct fsl_ifc_regs __iomem *ifc = ctrl->regs; |
79 | 79 | ||
@@ -211,7 +211,7 @@ static irqreturn_t fsl_ifc_ctrl_irq(int irqno, void *data) | |||
211 | * resources for the NAND banks themselves are allocated | 211 | * resources for the NAND banks themselves are allocated |
212 | * in the chip probe function. | 212 | * in the chip probe function. |
213 | */ | 213 | */ |
214 | static int __devinit fsl_ifc_ctrl_probe(struct platform_device *dev) | 214 | static int fsl_ifc_ctrl_probe(struct platform_device *dev) |
215 | { | 215 | { |
216 | int ret = 0; | 216 | int ret = 0; |
217 | 217 | ||