mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 23:27:06 +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…
Reference in a new issue