spi: cadence: Return the error code for cdns_spi_suspend and cdns_spi_resume
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Tue, 5 Apr 2016 18:07:54 +0000 (23:37 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 5 Apr 2016 18:51:10 +0000 (11:51 -0700)
commit6fe9b67dbe5e0a0abeeabd428cb596b913995b36
treef43d2d81f1124eb6e300aed76bf27f84face1517
parent2198b7483d4a89cf2cc710045c76a76dba573ea5
spi: cadence: Return the error code for cdns_spi_suspend and cdns_spi_resume

Return the error code for cdns_spi_suspend and cdns_spi_resume.
Also fixes a comment where which claims that the error code is
returned.

Signed-off-by: Shubhrajyoti Datta <shubhraj@xilinx.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-cadence.c