]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit53208b6a256262f73aa382308e60f4ba659998ab
tree72a47bb1d653cf273b3754bef24061b7a062774a
parentb9cd2a1493598695d39044f6b728195cc798df74
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