diff options
author | Satyam Sharma <satyam@infradead.org> | 2007-08-22 23:44:25 -0400 |
---|---|---|
committer | Mark M. Hoffman <mhoffman@lightlink.com> | 2007-10-09 22:56:29 -0400 |
commit | 59a35bafb223bbb0553ba1a3bb9280bda668a8d8 (patch) | |
tree | ee7079e34e1b6b2c45951455ca237524a171ee11 /drivers/hwmon/coretemp.c | |
parent | 84f1e442968a9c754647a6f42accd9560c22ff39 (diff) |
hwmon: (coretemp) Remove bogus __cpuinitdata etc cleanup
The CPU hotplug notifier_block coretemp_cpu_notifier is already defined
inside an #ifdef HOTPLUG_CPU, therefore marking it as __cpuinitdata is
quite a pointless thing to do.
Also, remove duplicate prototype of function coretemp_update_device()
at the top of this file (another one already exists barely 10 lines
above this one :-)
Signed-off-by: Satyam Sharma <satyam@infradead.org>
Acked-by: Rudolf Marek <r.marek@assembler.cz>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Diffstat (limited to 'drivers/hwmon/coretemp.c')
-rw-r--r-- | drivers/hwmon/coretemp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c index 7c1795225b06..f7b0ef41d9cd 100644 --- a/drivers/hwmon/coretemp.c +++ b/drivers/hwmon/coretemp.c | |||
@@ -58,8 +58,6 @@ struct coretemp_data { | |||
58 | u8 alarm; | 58 | u8 alarm; |
59 | }; | 59 | }; |
60 | 60 | ||
61 | static struct coretemp_data *coretemp_update_device(struct device *dev); | ||
62 | |||
63 | /* | 61 | /* |
64 | * Sysfs stuff | 62 | * Sysfs stuff |
65 | */ | 63 | */ |
@@ -350,7 +348,7 @@ static int coretemp_cpu_callback(struct notifier_block *nfb, | |||
350 | return NOTIFY_OK; | 348 | return NOTIFY_OK; |
351 | } | 349 | } |
352 | 350 | ||
353 | static struct notifier_block __cpuinitdata coretemp_cpu_notifier = { | 351 | static struct notifier_block coretemp_cpu_notifier = { |
354 | .notifier_call = coretemp_cpu_callback, | 352 | .notifier_call = coretemp_cpu_callback, |
355 | }; | 353 | }; |
356 | #endif /* !CONFIG_HOTPLUG_CPU */ | 354 | #endif /* !CONFIG_HOTPLUG_CPU */ |