spi: rcar: Use devm_* managed allocators
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 27 Nov 2013 00:41:46 +0000 (01:41 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 27 Nov 2013 16:31:38 +0000 (16:31 +0000)
commit5d79e9ac89b45643c98b68ea7ce62c80b3b4e160
tree729b102a1cd53dd1d0fd02cb193bc98b8f2162ac
parent5ffbe2d90d81b8734eaf69ee4dad8507f318aad0
spi: rcar: Use devm_* managed allocators

This simplies error and cleanup code paths.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-rspi.c