mmc: sdhci-of-arasan: Use signed formatting in error messages
authorMike Looijmans <mike.looijmans@topic.nl>
Thu, 23 Oct 2014 11:31:00 +0000 (13:31 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Nov 2014 11:40:38 +0000 (12:40 +0100)
commit5d0e1194459f70c06d866531ebf19c9e2b75a77e
tree6bf8945535035df0ae164f05e060ff849b6b713c
parent4df10e02aa92a2f898da408e9b8ef9a73e7f7264
mmc: sdhci-of-arasan: Use signed formatting in error messages

"ret" is a signed int, so use "%d" in format strings instead of "%u".
This prevents cryptic codes in error messages like this:
sdhci-arasan e0101000.sdhci: platform register failed (4294966779)

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Reviewed-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-arasan.c