Commit 38bab98a authored by Wolfram Sang's avatar Wolfram Sang Committed by Guenter Roeck
Browse files

hwmon: (lm90) use proper type for update_interval



The code handles this variable always as unsigned, so adapt the type.
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 1069ad8f
......@@ -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 */
......
Supports Markdown
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