[lm-sensors] x86/hwmon: remove inclusion of unnecessary headers from {core, pkg, via-cpu}temp.c

Jan Beulich JBeulich at novell.com
Mon Sep 13 12:32:08 CEST 2010


These likely originate from these drivers being clones of one another
and/or other drivers which actually needed these includes.

Signed-off-by: Jan Beulich <jbeulich at novell.com>

---
 drivers/hwmon/coretemp.c    |    1 -
 drivers/hwmon/pkgtemp.c     |    1 -
 drivers/hwmon/via-cputemp.c |    2 --
 3 files changed, 4 deletions(-)

--- linux-2.6.36-rc4/drivers/hwmon/coretemp.c	2010-09-13 08:45:02.000000000 +0200
+++ 2.6.36-rc4-x86-hwmon-no-delay-h/drivers/hwmon/coretemp.c	2010-09-03 17:54:14.000000000 +0200
@@ -21,7 +21,6 @@
  */
 
 #include <linux/module.h>
-#include <linux/delay.h>
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/jiffies.h>
--- linux-2.6.36-rc4/drivers/hwmon/pkgtemp.c	2010-09-13 08:45:03.000000000 +0200
+++ 2.6.36-rc4-x86-hwmon-no-delay-h/drivers/hwmon/pkgtemp.c	2010-09-03 17:54:30.000000000 +0200
@@ -21,7 +21,6 @@
  */
 
 #include <linux/module.h>
-#include <linux/delay.h>
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/jiffies.h>
--- linux-2.6.36-rc4/drivers/hwmon/via-cputemp.c	2010-09-13 08:45:03.000000000 +0200
+++ 2.6.36-rc4-x86-hwmon-no-delay-h/drivers/hwmon/via-cputemp.c	2010-09-13 00:00:00.000000000 +0200
@@ -22,10 +22,8 @@
  */
 
 #include <linux/module.h>
-#include <linux/delay.h>
 #include <linux/init.h>
 #include <linux/slab.h>
-#include <linux/jiffies.h>
 #include <linux/hwmon.h>
 #include <linux/sysfs.h>
 #include <linux/hwmon-sysfs.h>







More information about the lm-sensors mailing list