hwmon: (lm90) use proper type for update_interval

The code handles this variable always as unsigned, so adapt the type.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Wolfram Sang 2016-06-05 09:35:43 +02:00 committed by Guenter Roeck
parent 1069ad8f65
commit 38bab98a8d

View File

@ -375,7 +375,7 @@ struct lm90_data {
int kind;
u32 flags;
int update_interval; /* in milliseconds */
unsigned int update_interval; /* in milliseconds */
u8 config_orig; /* Original configuration register value */
u8 convrate_orig; /* Original conversion rate register value */