This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / i2c / chips / w83l785ts.c
index 66b3b8d..5857586 100644 (file)
@@ -47,7 +47,9 @@
  */
 
 static unsigned short normal_i2c[] = { 0x2e, I2C_CLIENT_END };
+static unsigned short normal_i2c_range[] = { I2C_CLIENT_END };
 static unsigned int normal_isa[] = { I2C_CLIENT_ISA_END };
+static unsigned int normal_isa_range[] = { I2C_CLIENT_ISA_END };
 
 /*
  * Insmod parameters
@@ -280,17 +282,14 @@ static u8 w83l785ts_read_value(struct i2c_client *client, u8 reg, u8 defval)
         * default value requested by the caller. */
        for (i = 1; i <= MAX_RETRIES; i++) {
                value = i2c_smbus_read_byte_data(client, reg);
-               if (value >= 0) {
-                       dev_dbg(&client->dev, "Read 0x%02x from register "
-                               "0x%02x.\n", value, reg);
+               if (value >= 0)
                        return value;
-               }
                dev_dbg(&client->dev, "Read failed, will retry in %d.\n", i);
                msleep(i);
        }
 
-       dev_err(&client->dev, "Couldn't read value from register 0x%02x. "
-               "Please report.\n", reg);
+       dev_err(&client->dev, "Couldn't read value from register. "
+               "Please report.\n");
        return defval;
 }