hwmon: (ltc4261) Fix error message format
authorJean Delvare <khali@linux-fr.org>
Fri, 5 Nov 2010 14:59:29 +0000 (10:59 -0400)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Fri, 5 Nov 2010 17:17:19 +0000 (10:17 -0700)
commit475200c088a14666a03ed7f789c7db1ff5281bc5
tree851b178b43b7eda862cbb528087ac090ed75ff54
parent69f8b74193444f1a6251a491f10b95faa77716d6
hwmon: (ltc4261) Fix error message format

adapter->id is deprecated and not set by any adapter driver, so this
was certainly not what the author wanted to use. adapter->nr maybe,
but as dev_err() already includes this value, as well as the client's
address, there's no point repeating them. Better print a simple error
message in plain English words.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/ltc4261.c