diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2016-06-05 07:35:43 (GMT) |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-06-08 03:13:05 (GMT) |
commit | 38bab98a8da4a2ff5c3f55b045b0c8bf6901362f (patch) | |
tree | 9f1c49fbb74a3a61e135b8985cb0e6713601b653 /drivers/hwmon/lm90.c | |
parent | 1069ad8f65a474bb30a487a001511b25f3575f5e (diff) | |
download | linux-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/lm90.c')
-rw-r--r-- | drivers/hwmon/lm90.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |