summaryrefslogtreecommitdiff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2016-06-05 10:35:43 +0300
committerGuenter Roeck <linux@roeck-us.net>2016-06-08 06:13:05 +0300
commit38bab98a8da4a2ff5c3f55b045b0c8bf6901362f (patch)
tree9f1c49fbb74a3a61e135b8985cb0e6713601b653 /drivers/hwmon
parent1069ad8f65a474bb30a487a001511b25f3575f5e (diff)
downloadlinux-38bab98a8da4a2ff5c3f55b045b0c8bf6901362f.tar.xz
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>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/lm90.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c
index c9ff08dbe10c..e30a5939dc0d 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 */