spi: fsl-(e)spi: migrate to using devm_ functions to simplify cleanup
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 26 Aug 2015 19:21:50 +0000 (21:21 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 28 Aug 2015 17:15:18 +0000 (18:15 +0100)
commit4178b6b1b595003cd6e04711b449797a582e44f5
treee762d94a809abe67697f723bd98f5a9447858d93
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590
spi: fsl-(e)spi: migrate to using devm_ functions to simplify cleanup

Migrate fsl-espi and fsl-spi to using the managed devm_ functions
for resource handling. This simplifies the cleanup.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-espi.c
drivers/spi/spi-fsl-lib.c
drivers/spi/spi-fsl-spi.c