From: Arnaud Ebalard Date: Wed, 10 Dec 2014 23:54:11 +0000 (-0800) Subject: drivers/rtc/rtc-isl12057.c: report error code upon failure in dev_err() calls X-Git-Tag: omap-for-v3.20/drop-legacy-3517~139^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf67d0b6410182eefd4db665279fce76c9a19cf9;p=pandora-kernel.git 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 Suggested-by: Mark Brown Cc: Mark Rutland Cc: Alessandro Zummo Cc: Peter Huewe Cc: Linus Walleij Cc: Thierry Reding Cc: Grant Likely Acked-by: Uwe Kleine-König Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed