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>
This commit is contained in:
parent
94c42cf9a1
commit
bdd41aae69
@ -95,7 +95,6 @@ static void ltc4245_update_gpios(struct device *dev)
|
|||||||
* readings as stale by setting them to -EAGAIN
|
* readings as stale by setting them to -EAGAIN
|
||||||
*/
|
*/
|
||||||
if (time_after(jiffies, data->last_updated + 5 * HZ)) {
|
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++)
|
for (i = 0; i < ARRAY_SIZE(data->gpios); i++)
|
||||||
data->gpios[i] = -EAGAIN;
|
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) {
|
if (time_after(jiffies, data->last_updated + HZ) || !data->valid) {
|
||||||
|
|
||||||
dev_dbg(&client->dev, "Starting ltc4245 update\n");
|
|
||||||
|
|
||||||
/* Read control registers -- 0x00 to 0x07 */
|
/* Read control registers -- 0x00 to 0x07 */
|
||||||
for (i = 0; i < ARRAY_SIZE(data->cregs); i++) {
|
for (i = 0; i < ARRAY_SIZE(data->cregs); i++) {
|
||||||
val = i2c_smbus_read_byte_data(client, i);
|
val = i2c_smbus_read_byte_data(client, i);
|
||||||
|
Loading…
Reference in New Issue
Block a user