mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-30 22:05:11 +00:00
Name fix: lpc57b397 -> lpc47b397
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2770 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -5197,10 +5197,10 @@ void print_lm93(const sensors_chip_name *name)
|
||||
print_lm93_vid(name, SENSORS_LM93_VID2);
|
||||
}
|
||||
|
||||
/* print_smsc57b397_temp()
|
||||
/* print_smsc47b397_temp()
|
||||
* where temp is a sensors feature ID
|
||||
*/
|
||||
static void print_smsc57b397_temp(const sensors_chip_name *name, int temp)
|
||||
static void print_smsc47b397_temp(const sensors_chip_name *name, int temp)
|
||||
{
|
||||
char *label = NULL;
|
||||
double cur;
|
||||
@@ -5219,13 +5219,13 @@ static void print_smsc57b397_temp(const sensors_chip_name *name, int temp)
|
||||
free_the_label(&label);
|
||||
}
|
||||
|
||||
#define PRINT_SMSC57B397_TEMP(num, name) \
|
||||
print_smsc57b397_temp((name), (SENSORS_SMSC57B397_TEMP1 + (num)))
|
||||
#define PRINT_SMSC47B397_TEMP(num, name) \
|
||||
print_smsc47b397_temp((name), (SENSORS_SMSC47B397_TEMP1 + (num)))
|
||||
|
||||
/* print_smsc57b397_fan()
|
||||
/* print_smsc47b397_fan()
|
||||
* where fan is a sensors feature ID
|
||||
*/
|
||||
static void print_smsc57b397_fan(const sensors_chip_name *name, int fan)
|
||||
static void print_smsc47b397_fan(const sensors_chip_name *name, int fan)
|
||||
{
|
||||
char *label = NULL;
|
||||
double cur;
|
||||
@@ -5242,18 +5242,18 @@ static void print_smsc57b397_fan(const sensors_chip_name *name, int fan)
|
||||
free_the_label(&label);
|
||||
}
|
||||
|
||||
#define PRINT_SMSC57B397_FAN(num, name) \
|
||||
print_smsc57b397_fan((name), (SENSORS_SMSC57B397_FAN1 + (num)))
|
||||
#define PRINT_SMSC47B397_FAN(num, name) \
|
||||
print_smsc47b397_fan((name), (SENSORS_SMSC47B397_FAN1 + (num)))
|
||||
|
||||
void print_smsc57b397(const sensors_chip_name *name)
|
||||
void print_smsc47b397(const sensors_chip_name *name)
|
||||
{
|
||||
int ii;
|
||||
|
||||
for (ii=0;ii<4;ii++)
|
||||
PRINT_SMSC57B397_TEMP(ii, name);
|
||||
PRINT_SMSC47B397_TEMP(ii, name);
|
||||
|
||||
for (ii=0;ii<4;ii++)
|
||||
PRINT_SMSC57B397_FAN(ii, name);
|
||||
PRINT_SMSC47B397_FAN(ii, name);
|
||||
}
|
||||
|
||||
void print_unknown_chip(const sensors_chip_name *name)
|
||||
|
Reference in New Issue
Block a user