提交 38bab98a 编写于 作者: W Wolfram Sang 提交者: Guenter Roeck

hwmon: (lm90) use proper type for update_interval

The code handles this variable always as unsigned, so adapt the type.
Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
上级 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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册