From: Wolfram Sang Date: Sun, 5 Jun 2016 07:35:43 +0000 (+0200) Subject: hwmon: (lm90) use proper type for update_interval X-Git-Tag: v4.14-rc1~3043^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=38bab98a8da4a2ff5c3f55b045b0c8bf6901362f;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Guenter Roeck --- diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c index c9ff08d..e30a593 100644 --- a/drivers/hwmon/lm90.c +++ b/drivers/hwmon/lm90.c @@ -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 */