mmc: sh_mobile_sdhi: use managed resource allocations
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 15 Feb 2013 15:13:58 +0000 (16:13 +0100)
committerChris Ball <cjb@laptop.org>
Sun, 24 Feb 2013 19:37:23 +0000 (14:37 -0500)
commitac51b9611db597aa55e06218c62c3511702d772f
tree4a43d9ea483e812ebe010f2c8e0fcaf754f79328
parent76a411f9f9423cbc9f62e70173459c5af54323f4
mmc: sh_mobile_sdhi: use managed resource allocations

Use managed allocations to get memory, clock and interrupts . This
significantly simplifies clean up paths.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mobile_sdhi.c