]> git.dujemihanovic.xyz Git - u-boot.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)
commit240cd7566e7b98ef5f88b8d2f36c54e8d83f576e
tree53a4d55456fbcb42a55f3a53c5930f1b18b2fad1
parent77b5ba5d2b94c5b028991c82782493f64bd4f392
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