Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=59a35bafb223bbb0553ba1a3bb9280bda668a8d8
Commit:     59a35bafb223bbb0553ba1a3bb9280bda668a8d8
Parent:     84f1e442968a9c754647a6f42accd9560c22ff39
Author:     Satyam Sharma <[EMAIL PROTECTED]>
AuthorDate: Thu Aug 23 09:14:25 2007 +0530
Committer:  Mark M. Hoffman <[EMAIL PROTECTED]>
CommitDate: Tue Oct 9 22:56:29 2007 -0400

    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 <[EMAIL PROTECTED]>
    Acked-by: Rudolf Marek <[EMAIL PROTECTED]>
    Signed-off-by: Mark M. Hoffman <[EMAIL PROTECTED]>
---
 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 7c17952..f7b0ef4 100644
--- a/drivers/hwmon/coretemp.c
+++ b/drivers/hwmon/coretemp.c
@@ -58,8 +58,6 @@ struct coretemp_data {
        u8 alarm;
 };
 
-static struct coretemp_data *coretemp_update_device(struct device *dev);
-
 /*
  * Sysfs stuff
  */
@@ -350,7 +348,7 @@ static int coretemp_cpu_callback(struct notifier_block *nfb,
        return NOTIFY_OK;
 }
 
-static struct notifier_block __cpuinitdata coretemp_cpu_notifier = {
+static struct notifier_block coretemp_cpu_notifier = {
        .notifier_call = coretemp_cpu_callback,
 };
 #endif                         /* !CONFIG_HOTPLUG_CPU */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to