[lm-sensors] [PATCH] hwmon: (ltc4261) Add missing newline in debug message
Jean Delvare
khali at linux-fr.org
Thu Oct 28 15:16:32 CEST 2010
On Thu, 28 Oct 2010 06:20:23 -0700, Guenter Roeck wrote:
> Reported-by: Joe Perches <joe at perches.com>
> Signed-off-by: Guenter Roeck <guenter.roeck at ericsson.com>
Obviously correct.
Acked-by: Jean Delvare <khali at linux-fr.org>
> ---
> drivers/hwmon/ltc4261.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/hwmon/ltc4261.c b/drivers/hwmon/ltc4261.c
> index 2676261..15f137b 100644
> --- a/drivers/hwmon/ltc4261.c
> +++ b/drivers/hwmon/ltc4261.c
> @@ -82,7 +82,7 @@ static struct ltc4261_data *ltc4261_update_device(struct device *dev)
> val = i2c_smbus_read_byte_data(client, i);
> if (unlikely(val < 0)) {
> dev_dbg(dev,
> - "Failed to read ADC value: error %d",
> + "Failed to read ADC value: error %d\n",
> val);
> ret = ERR_PTR(val);
> goto abort;
--
Jean Delvare
More information about the lm-sensors
mailing list