From 6709a2618b6ce1a5e1ef67ff21a7a52f2c802ac6 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Tue, 18 Sep 2001 15:57:37 +0000 Subject: [PATCH] remove temp. ID, volt->in git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1181 7894878c-1315-0410-8ee3-d5d059ff63e0 --- kernel/chips/fscpos.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/kernel/chips/fscpos.c b/kernel/chips/fscpos.c index 9bbc0578..ad9df246 100644 --- a/kernel/chips/fscpos.c +++ b/kernel/chips/fscpos.c @@ -39,10 +39,6 @@ #include "sensors.h" #include -/* temporary defines */ -#define I2C_DRIVERID_FSCPOS 0xabcd -/* -- end of temporary defines */ - #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,2,18)) || \ (LINUX_VERSION_CODE == KERNEL_VERSION(2,3,0)) #define init_MUTEX(s) do { *(s) = MUTEX; } while(0) @@ -231,11 +227,11 @@ static ctl_table fscpos_dir_table_template[] = { &i2c_sysctl_real, NULL, &fscpos_temp}, {FSCPOS_SYSCTL_TEMP2, "temp2", NULL, 0, 0644, NULL, &i2c_proc_real, &i2c_sysctl_real, NULL, &fscpos_temp}, - {FSCPOS_SYSCTL_VOLT0, "volt0", NULL, 0, 0444, NULL, &i2c_proc_real, + {FSCPOS_SYSCTL_VOLT0, "in0", NULL, 0, 0444, NULL, &i2c_proc_real, &i2c_sysctl_real, NULL, &fscpos_volt}, - {FSCPOS_SYSCTL_VOLT1, "volt1", NULL, 0, 0444, NULL, &i2c_proc_real, + {FSCPOS_SYSCTL_VOLT1, "in1", NULL, 0, 0444, NULL, &i2c_proc_real, &i2c_sysctl_real, NULL, &fscpos_volt}, - {FSCPOS_SYSCTL_VOLT2, "volt2", NULL, 0, 0444, NULL, &i2c_proc_real, + {FSCPOS_SYSCTL_VOLT2, "in2", NULL, 0, 0444, NULL, &i2c_proc_real, &i2c_sysctl_real, NULL, &fscpos_volt}, {FSCPOS_SYSCTL_FAN0, "fan0", NULL, 0, 0644, NULL, &i2c_proc_real, &i2c_sysctl_real, NULL, &fscpos_fan},