]> git.baikalelectronics.ru Git - uboot.git/commit
spi: zynq_qspi: Fixed incorrect return value error
authorVipul Kumar <vipul.kumar@xilinx.com>
Mon, 25 Jun 2018 08:43:57 +0000 (14:13 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 25 Jun 2018 08:43:57 +0000 (14:13 +0530)
commit658e46636febfa1b9c82c1197d549bc22074d78f
tree53a4d55456fbcb42a55f3a53c5930f1b18b2fad1
parentc70472cae9385f48b4fb0bef0f42a3fdaf5b8e8a
spi: zynq_qspi: Fixed incorrect return value error

This patch replaced "return 0" with "return status" to fix the
incorrect return value error reported by the coverity.

Reviewed-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Vipul Kumar <vipul.kumar@xilinx.com>
[jagan: rebased on master]
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/zynq_qspi.c