diff options
author | Jan Beulich <jbeulich@novell.com> | 2010-09-23 22:31:10 -0700 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2010-10-25 14:11:19 -0700 |
commit | a5f42a6bc51454137b918f67310168c27d1dd1de (patch) | |
tree | 4715dd8a2aae7f1345dcf8d8f16153a5bb8eacc5 /drivers/hwmon/coretemp.c | |
parent | 72e58063d63c5f0a7bf65312f1e3a5ed9bb5c2ff (diff) | |
download | lwn-a5f42a6bc51454137b918f67310168c27d1dd1de.tar.gz lwn-a5f42a6bc51454137b918f67310168c27d1dd1de.zip |
x86/hwmon: {core, pkg, via}cpu_temp_device_remove() can all be __cpuinit
... as they're being called only from a __cpuinit function.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/hwmon/coretemp.c')
-rw-r--r-- | drivers/hwmon/coretemp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c index a23b17a78ace..f34fe836b5c9 100644 --- a/drivers/hwmon/coretemp.c +++ b/drivers/hwmon/coretemp.c @@ -490,7 +490,7 @@ exit: return err; } -static void coretemp_device_remove(unsigned int cpu) +static void __cpuinit coretemp_device_remove(unsigned int cpu) { struct pdev_entry *p; unsigned int i; |