From 4b88cf707139c905d9c9cb0e8c47bb50b9b3462a Mon Sep 17 00:00:00 2001 From: Philip Edelbrock Date: Fri, 26 Jan 2001 17:26:20 +0000 Subject: [PATCH] (Phil) Fixed typo/copy-and-paste error for reading AIN2. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1002 7894878c-1315-0410-8ee3-d5d059ff63e0 --- kernel/chips/lm87.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/chips/lm87.c b/kernel/chips/lm87.c index dfcd1608..9270b853 100644 --- a/kernel/chips/lm87.c +++ b/kernel/chips/lm87.c @@ -666,7 +666,7 @@ void LM87_update_client(struct i2c_client *client) data->ain1_max = LM87_read_value(client,LM87_REG_FAN1_AIN1_LIMIT); data->ain2 = - LM87_read_value(client,LM87_REG_FAN1_AIN1); + LM87_read_value(client,LM87_REG_FAN2_AIN2); data->ain2_min = LM87_read_value(client,LM87_REG_AIN2_LOW); data->ain2_max =