diff options
Diffstat (limited to 'drivers/platform/x86/hdaps.c')
-rw-r--r-- | drivers/platform/x86/hdaps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/x86/hdaps.c b/drivers/platform/x86/hdaps.c index ba68d4e7a779..7387f97a2941 100644 --- a/drivers/platform/x86/hdaps.c +++ b/drivers/platform/x86/hdaps.c | |||
@@ -375,7 +375,7 @@ static ssize_t hdaps_variance_show(struct device *dev, | |||
375 | static ssize_t hdaps_temp1_show(struct device *dev, | 375 | static ssize_t hdaps_temp1_show(struct device *dev, |
376 | struct device_attribute *attr, char *buf) | 376 | struct device_attribute *attr, char *buf) |
377 | { | 377 | { |
378 | u8 temp; | 378 | u8 uninitialized_var(temp); |
379 | int ret; | 379 | int ret; |
380 | 380 | ||
381 | ret = hdaps_readb_one(HDAPS_PORT_TEMP1, &temp); | 381 | ret = hdaps_readb_one(HDAPS_PORT_TEMP1, &temp); |
@@ -388,7 +388,7 @@ static ssize_t hdaps_temp1_show(struct device *dev, | |||
388 | static ssize_t hdaps_temp2_show(struct device *dev, | 388 | static ssize_t hdaps_temp2_show(struct device *dev, |
389 | struct device_attribute *attr, char *buf) | 389 | struct device_attribute *attr, char *buf) |
390 | { | 390 | { |
391 | u8 temp; | 391 | u8 uninitialized_var(temp); |
392 | int ret; | 392 | int ret; |
393 | 393 | ||
394 | ret = hdaps_readb_one(HDAPS_PORT_TEMP2, &temp); | 394 | ret = hdaps_readb_one(HDAPS_PORT_TEMP2, &temp); |