mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-18 04:54:52 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue