Arnaud Ebalard cf67d0b641 drivers/rtc/rtc-isl12057.c: report error code upon failure in dev_err() calls
As pointed out by Mark, it is generally useful to log the error code when
reporting a failure.  This patch improves existing calls to dev_err() in
ISL12057 driver to also report error code.

Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
Suggested-by: Mark Brown <broonie@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Peter Huewe <peter.huewe@infineon.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Thierry Reding <treding@nvidia.com>
Cc: Grant Likely <grant.likely@linaro.org>
Acked-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-12-10 17:41:16 -08:00
..
2014-04-03 16:21:16 -07:00
2014-04-03 16:21:16 -07:00
2014-10-14 02:18:17 +02:00
2014-10-14 02:18:17 +02:00
2014-12-10 17:41:14 -08:00
2014-08-08 15:57:20 -07:00
2013-04-19 13:51:25 +02:00
2014-09-19 12:39:19 +02:00
2014-04-03 16:21:21 -07:00
2014-04-03 16:21:16 -07:00
2014-04-03 16:21:16 -07:00