Commit dd031391 authored by Andrew Morton's avatar Andrew Morton Committed by james toy

drivers/hwmon/f75375s.c: In function 'f75375_detect':

drivers/hwmon/f75375s.c:689: warning: comparison is always false due to limited range of data type
drivers/hwmon/f75375s.c:689: warning: comparison is always false due to limited range of data type
drivers/hwmon/f75375s.c:691: warning: comparison is always false due to limited range of data type
drivers/hwmon/f75375s.c:691: warning: comparison is always false due to limited range of data type

Cc: Riku Voipio <riku.voipio@iki.fi>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Corentin Labbe <corentin.labbe@geomatys.fr>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent ea2af979
...@@ -681,7 +681,7 @@ static int f75375_detect(struct i2c_client *client, int kind, ...@@ -681,7 +681,7 @@ static int f75375_detect(struct i2c_client *client, int kind,
struct i2c_board_info *info) struct i2c_board_info *info)
{ {
struct i2c_adapter *adapter = client->adapter; struct i2c_adapter *adapter = client->adapter;
u8 vendid, chipid, version; u16 vendid, chipid, version;
const char *name; const char *name;
vendid = f75375_read16(client, F75375_REG_VENDOR); vendid = f75375_read16(client, F75375_REG_VENDOR);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment