mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
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:
parent
1069ad8f65
commit
38bab98a8d
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user