aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/sta2x11-mfd.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 18:03:15 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 18:57:14 -0500
commit612b95cd7926d1a583e68f12e10b44b7ac80ca17 (patch)
treee7418eedd95f09adf88675ef89e6abdc465a45df /drivers/mfd/sta2x11-mfd.c
parentf568f6ca811fe681ecfd11c4ce78b6aa488020c0 (diff)
Drivers: mfd: 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: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mfd/sta2x11-mfd.c')
-rw-r--r--drivers/mfd/sta2x11-mfd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mfd/sta2x11-mfd.c b/drivers/mfd/sta2x11-mfd.c
index 1225dcbcfcfc..9bd33169a111 100644
--- a/drivers/mfd/sta2x11-mfd.c
+++ b/drivers/mfd/sta2x11-mfd.c
@@ -510,19 +510,19 @@ enum mfd1_bar1_cells {
510 STA2X11_APB_SOC_REGS = 0, 510 STA2X11_APB_SOC_REGS = 0,
511}; 511};
512 512
513static const __devinitconst struct resource vic_resources[] = { 513static const struct resource vic_resources[] = {
514 CELL_4K(STA2X11_MFD_VIC_NAME, STA2X11_VIC), 514 CELL_4K(STA2X11_MFD_VIC_NAME, STA2X11_VIC),
515}; 515};
516 516
517static const __devinitconst struct resource apb_soc_regs_resources[] = { 517static const struct resource apb_soc_regs_resources[] = {
518 CELL_4K(STA2X11_MFD_APB_SOC_REGS_NAME, STA2X11_APB_SOC_REGS), 518 CELL_4K(STA2X11_MFD_APB_SOC_REGS_NAME, STA2X11_APB_SOC_REGS),
519}; 519};
520 520
521static __devinitdata struct mfd_cell sta2x11_mfd1_bar0[] = { 521static struct mfd_cell sta2x11_mfd1_bar0[] = {
522 DEV(STA2X11_MFD_VIC_NAME, vic_resources), 522 DEV(STA2X11_MFD_VIC_NAME, vic_resources),
523}; 523};
524 524
525static __devinitdata struct mfd_cell sta2x11_mfd1_bar1[] = { 525static struct mfd_cell sta2x11_mfd1_bar1[] = {
526 DEV(STA2X11_MFD_APB_SOC_REGS_NAME, apb_soc_regs_resources), 526 DEV(STA2X11_MFD_APB_SOC_REGS_NAME, apb_soc_regs_resources),
527}; 527};
528 528