Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-3
-3
drivers/hwmon/ltc4245.c
··· 95 95 * readings as stale by setting them to -EAGAIN 96 96 */ 97 97 if (time_after(jiffies, data->last_updated + 5 * HZ)) { 98 - dev_dbg(&client->dev, "Marking GPIOs invalid\n"); 99 98 for (i = 0; i < ARRAY_SIZE(data->gpios); i++) 100 99 data->gpios[i] = -EAGAIN; 101 100 } ··· 139 140 mutex_lock(&data->update_lock); 140 141 141 142 if (time_after(jiffies, data->last_updated + HZ) || !data->valid) { 142 - 143 - dev_dbg(&client->dev, "Starting ltc4245 update\n"); 144 143 145 144 /* Read control registers -- 0x00 to 0x07 */ 146 145 for (i = 0; i < ARRAY_SIZE(data->cregs); i++) {