diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:23:51 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:03 -0500 |
commit | 9b3c6e85c2cfa731cf67d5a8c49f7d8c60ec0b04 (patch) | |
tree | 1aa850545cc894e835199b877edf93c6a340e58d /drivers/edac/highbank_mc_edac.c | |
parent | 312facaf924edd4db6b81e3a1518adf56c9cd8bd (diff) |
Drivers: edac: 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, 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: Doug Thompson <dougthompson@xmission.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Mark Gross <mark.gross@intel.com>
Cc: Jason Uhlenkott <juhlenko@akamai.com>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Tim Small <tim@buttersideup.com>
Cc: Ranganathan Desikan <ravi@jetztechnologies.com>
Cc: "Arvind R." <arvino55@gmail.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: David Daney <david.daney@cavium.com>
Cc: Egor Martovetsky <egor@pasemi.com>
Cc: Olof Johansson <olof@lixom.net>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/edac/highbank_mc_edac.c')
-rw-r--r-- | drivers/edac/highbank_mc_edac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/edac/highbank_mc_edac.c b/drivers/edac/highbank_mc_edac.c index 7ea4cc2e8bd2..4695dd2d71fd 100644 --- a/drivers/edac/highbank_mc_edac.c +++ b/drivers/edac/highbank_mc_edac.c | |||
@@ -119,7 +119,7 @@ static const struct file_operations highbank_mc_debug_inject_fops = { | |||
119 | .llseek = generic_file_llseek, | 119 | .llseek = generic_file_llseek, |
120 | }; | 120 | }; |
121 | 121 | ||
122 | static void __devinit highbank_mc_create_debugfs_nodes(struct mem_ctl_info *mci) | 122 | static void highbank_mc_create_debugfs_nodes(struct mem_ctl_info *mci) |
123 | { | 123 | { |
124 | if (mci->debugfs) | 124 | if (mci->debugfs) |
125 | debugfs_create_file("inject_ctrl", S_IWUSR, mci->debugfs, mci, | 125 | debugfs_create_file("inject_ctrl", S_IWUSR, mci->debugfs, mci, |
@@ -127,11 +127,11 @@ static void __devinit highbank_mc_create_debugfs_nodes(struct mem_ctl_info *mci) | |||
127 | ; | 127 | ; |
128 | } | 128 | } |
129 | #else | 129 | #else |
130 | static void __devinit highbank_mc_create_debugfs_nodes(struct mem_ctl_info *mci) | 130 | static void highbank_mc_create_debugfs_nodes(struct mem_ctl_info *mci) |
131 | {} | 131 | {} |
132 | #endif | 132 | #endif |
133 | 133 | ||
134 | static int __devinit highbank_mc_probe(struct platform_device *pdev) | 134 | static int highbank_mc_probe(struct platform_device *pdev) |
135 | { | 135 | { |
136 | struct edac_mc_layer layers[2]; | 136 | struct edac_mc_layer layers[2]; |
137 | struct mem_ctl_info *mci; | 137 | struct mem_ctl_info *mci; |