ata: sunxi: fix debug messages
authorDario Binacchi <dariobin@libero.it>
Sun, 24 Jan 2021 18:13:10 +0000 (19:13 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Sun, 31 Jan 2021 23:55:56 +0000 (23:55 +0000)
commita38bb0d0377dd47dfc9270fb46112bca263e8885
tree72a47bb1d653cf273b3754bef24061b7a062774a
parent36ff6f00fb381fa906f563b153bdf533081d7513
ata: sunxi: fix debug messages

It is useless and misleading to print the ret variable that is not set
by the dev_read_addr routine. Also, move the '\n' character after the
round bracket that contains the error code.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/ata/ahci_sunxi.c