summaryrefslogtreecommitdiff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorLily Zhang <r58066@freescale.com>2011-04-13 14:28:46 +0800
committerLily Zhang <r58066@freescale.com>2011-04-27 06:48:07 -0500
commit224dbd2169f577525297f296e427392f0504036b (patch)
tree7cfecefc2d3f40c0bb808c8e692feba816c8784a /drivers/hwmon
parent9f558c599076c117e2f3fbb54ccd160a2afed888 (diff)
ENGR00141486-2 i.mx drivers: remove building warning message
remove building warning message in i.mx drivers Signed-off-by: Lily Zhang <r58066@freescale.com>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/max17135-hwmon.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/hwmon/max17135-hwmon.c b/drivers/hwmon/max17135-hwmon.c
index 8aa9aadbd44a..528a76c8a725 100644
--- a/drivers/hwmon/max17135-hwmon.c
+++ b/drivers/hwmon/max17135-hwmon.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010 Freescale Semiconductor, Inc.
+ * Copyright (C) 2010-2011 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -92,9 +92,6 @@ static ssize_t show_temp_input2(struct device *dev,
return snprintf(buf, PAGE_SIZE, "%d\n", temp_from_reg(reg_val));
}
-show_temp(temp_input1);
-show_temp(temp_input2);
-
static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp_input1, NULL);
static DEVICE_ATTR(temp2_input, S_IRUGO, show_temp_input2, NULL);