mmc: sh-mmcif: use devm_ for irq management
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 4 Jun 2014 11:42:11 +0000 (12:42 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 9 Jul 2014 09:26:01 +0000 (11:26 +0200)
commit6f4789e6a81f4678b8ffa73a6226be0f99955190
tree0626aec8031568496c314a207eb5c1e4b7c043d0
parent46991005e1f13e061359335b86d7847562feffde
mmc: sh-mmcif: use devm_ for irq management

Use devm_request_threaded_irq() for the host interrupt handlers so we
do not have to worry about freeing them on exit or error. Tidies up the
exit path code for the driver.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sh_mmcif.c