aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/jc42.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/jc42.c')
-rw-r--r--drivers/hwmon/jc42.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/jc42.c b/drivers/hwmon/jc42.c
index 340fc78c8dde..5efe2399e8f8 100644
--- a/drivers/hwmon/jc42.c
+++ b/drivers/hwmon/jc42.c
@@ -332,7 +332,7 @@ static ssize_t set_temp_crit_hyst(struct device *dev,
332{ 332{
333 struct i2c_client *client = to_i2c_client(dev); 333 struct i2c_client *client = to_i2c_client(dev);
334 struct jc42_data *data = i2c_get_clientdata(client); 334 struct jc42_data *data = i2c_get_clientdata(client);
335 long val; 335 unsigned long val;
336 int diff, hyst; 336 int diff, hyst;
337 int err; 337 int err;
338 int ret = count; 338 int ret = count;