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)
commit2291793cc4c6b1251e28a4ff0f98041147d57e96
tree40665d3ca45e765c358280e9377e8f308be8940f
parentb716c4ffc6a2b0bfbcf9619880f335be11b65708
spi/rockchip: do an error handling in proper time

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