diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 18:03:15 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:14 -0500 |
commit | 612b95cd7926d1a583e68f12e10b44b7ac80ca17 (patch) | |
tree | e7418eedd95f09adf88675ef89e6abdc465a45df /drivers/mfd/sta2x11-mfd.c | |
parent | f568f6ca811fe681ecfd11c4ce78b6aa488020c0 (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.c | 8 |
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 | ||
513 | static const __devinitconst struct resource vic_resources[] = { | 513 | static 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 | ||
517 | static const __devinitconst struct resource apb_soc_regs_resources[] = { | 517 | static 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 | ||
521 | static __devinitdata struct mfd_cell sta2x11_mfd1_bar0[] = { | 521 | static 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 | ||
525 | static __devinitdata struct mfd_cell sta2x11_mfd1_bar1[] = { | 525 | static 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 | ||