mmc: sh-mmcif: use devm_ for ioremap
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 4 Jun 2014 11:42:09 +0000 (12:42 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 9 Jul 2014 09:26:00 +0000 (11:26 +0200)
commit18f55fcc9d0e6f40fdc7f81afcbe950da30fbcf9
treedfc43ac44f302dea650c986de636eda2a6ebc65e
parentce7eb68875967902890c752b341dd2b92b0699de
mmc: sh-mmcif: use devm_ for ioremap

Start tidying the probe/release code by using devm_ioremap_resource() to
map the IO registers.

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