spi/rockchip: do an error handling in proper time
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 27 Feb 2015 15:34:16 +0000 (17:34 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 6 Mar 2015 19:41:57 +0000 (19:41 +0000)
There was handle_err() callback introduced that is dedicated for error
handling. The patch moves error handling to this callback.

Cc: Heiko Stuebner <heiko@sntech.de>
Cc: linux-rockchip@lists.infradead.org
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rockchip.c

Simple merge