spi: spi-orion: check return value from clk_prepare()/clk_enable()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 21 Jun 2014 10:32:23 +0000 (11:32 +0100)
committerMark Brown <broonie@linaro.org>
Sat, 21 Jun 2014 11:00:36 +0000 (12:00 +0100)
clk_prepare()/clk_enable() can fail, and it's return value should
be checked.  Add the proper checking, and while we're here, convert
to clk_prepare_enable().

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found