diff options
author | Guenter Roeck <linux@roeck-us.net> | 2014-02-03 00:32:40 -0500 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-03-03 11:01:04 -0500 |
commit | bdd41aae69f99394d4dd2026e5adfa882b748ba1 (patch) | |
tree | da917334dceb3d8a5b245391987c65f8d9c89766 /drivers/hwmon/ltc4245.c | |
parent | 94c42cf9a109b70486733669b79a5875f55b6684 (diff) |
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.c | 3 |
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) | |||
95 | * readings as stale by setting them to -EAGAIN | 95 | * readings as stale by setting them to -EAGAIN |
96 | */ | 96 | */ |
97 | if (time_after(jiffies, data->last_updated + 5 * HZ)) { | 97 | if (time_after(jiffies, data->last_updated + 5 * HZ)) { |
98 | dev_dbg(&client->dev, "Marking GPIOs invalid\n"); | ||
99 | for (i = 0; i < ARRAY_SIZE(data->gpios); i++) | 98 | for (i = 0; i < ARRAY_SIZE(data->gpios); i++) |
100 | data->gpios[i] = -EAGAIN; | 99 | data->gpios[i] = -EAGAIN; |
101 | } | 100 | } |
@@ -141,8 +140,6 @@ static struct ltc4245_data *ltc4245_update_device(struct device *dev) | |||
141 | 140 | ||
142 | if (time_after(jiffies, data->last_updated + HZ) || !data->valid) { | 141 | if (time_after(jiffies, data->last_updated + HZ) || !data->valid) { |
143 | 142 | ||
144 | dev_dbg(&client->dev, "Starting ltc4245 update\n"); | ||
145 | |||
146 | /* Read control registers -- 0x00 to 0x07 */ | 143 | /* Read control registers -- 0x00 to 0x07 */ |
147 | for (i = 0; i < ARRAY_SIZE(data->cregs); i++) { | 144 | for (i = 0; i < ARRAY_SIZE(data->cregs); i++) { |
148 | val = i2c_smbus_read_byte_data(client, i); | 145 | val = i2c_smbus_read_byte_data(client, i); |