summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ltc4245.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2014-02-03 06:32:40 +0100
committerGuenter Roeck <linux@roeck-us.net>2014-03-03 17:01:04 +0100
commitbdd41aae69f99394d4dd2026e5adfa882b748ba1 (patch)
treeda917334dceb3d8a5b245391987c65f8d9c89766 /drivers/hwmon/ltc4245.c
parenthwmon: (ltc4245) Use device managed function to register hwmon device (diff)
downloadlinux-bdd41aae69f99394d4dd2026e5adfa882b748ba1.tar.xz
linux-bdd41aae69f99394d4dd2026e5adfa882b748ba1.zip
hwmon: (ltc4245) Drop debug messages
The debug messages in this driver have little if any value. Drop them. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Jean Delvare <jdelvare@suse.de>
Diffstat (limited to 'drivers/hwmon/ltc4245.c')
-rw-r--r--drivers/hwmon/ltc4245.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/hwmon/ltc4245.c b/drivers/hwmon/ltc4245.c
index 2c6da5d955f5..aa36c2332614 100644
--- a/drivers/hwmon/ltc4245.c
+++ b/drivers/hwmon/ltc4245.c
@@ -95,7 +95,6 @@ static void ltc4245_update_gpios(struct device *dev)
* readings as stale by setting them to -EAGAIN
*/
if (time_after(jiffies, data->last_updated + 5 * HZ)) {
- dev_dbg(&client->dev, "Marking GPIOs invalid\n");
for (i = 0; i < ARRAY_SIZE(data->gpios); i++)
data->gpios[i] = -EAGAIN;
}
@@ -141,8 +140,6 @@ static struct ltc4245_data *ltc4245_update_device(struct device *dev)
if (time_after(jiffies, data->last_updated + HZ) || !data->valid) {
- dev_dbg(&client->dev, "Starting ltc4245 update\n");
-
/* Read control registers -- 0x00 to 0x07 */
for (i = 0; i < ARRAY_SIZE(data->cregs); i++) {
val = i2c_smbus_read_byte_data(client, i);