diff options
Diffstat (limited to 'drivers/hwmon/tmp102.c')
-rw-r--r-- | drivers/hwmon/tmp102.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/tmp102.c b/drivers/hwmon/tmp102.c index 9da2735f1424..65482624ea2c 100644 --- a/drivers/hwmon/tmp102.c +++ b/drivers/hwmon/tmp102.c | |||
@@ -98,7 +98,7 @@ static struct tmp102 *tmp102_update_device(struct device *dev) | |||
98 | return tmp102; | 98 | return tmp102; |
99 | } | 99 | } |
100 | 100 | ||
101 | static int tmp102_read_temp(void *dev, long *temp) | 101 | static int tmp102_read_temp(void *dev, int *temp) |
102 | { | 102 | { |
103 | struct tmp102 *tmp102 = tmp102_update_device(dev); | 103 | struct tmp102 *tmp102 = tmp102_update_device(dev); |
104 | 104 | ||