spi: spi-ep93xx: get platform resources early in (*probe)
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 2 Jul 2013 17:07:53 +0000 (10:07 -0700)
committerMark Brown <broonie@linaro.org>
Mon, 15 Jul 2013 10:37:13 +0000 (11:37 +0100)
commit48a7776e981fdf780728e45de4ae4f2b522c9c4d
treeff12c42effb7b70d80ec296025d47d3c6c982082
parent701c3587ee38ed53719187b0f1b059e113ac534f
spi: spi-ep93xx: get platform resources early in (*probe)

Get the platform resources early in the (*probe) to minimize the number
of goto's in the error path.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Mika Westerberg <mika.westerberg@iki.fi>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-ep93xx.c