]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf419c62270f9776f07d11875116bc9076c79f14d
tree0626aec8031568496c314a207eb5c1e4b7c043d0
parent4cb4aa5120d5e87d04b7d1d2b5b85b5d1be8f40b
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