Skip to content

Commit

Permalink
hwmon: (lm90) use proper type for update_interval
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wolfram Sang authored and Guenter Roeck committed Jun 8, 2016
1 parent 1069ad8 commit 38bab98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hwmon/lm90.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 38bab98

Please sign in to comment.