Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */