mfd: htc-egpio: Use devm_ioremap_nocache() instead of ioremap_nocache()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 19 Jun 2013 02:47:06 +0000 (10:47 +0800)
committerLee Jones <lee.jones@linaro.org>
Wed, 19 Jun 2013 08:53:55 +0000 (09:53 +0100)
commit3f9850f26241f1d4f9ed49eaa70e043a3bb24a7c
tree42d77a5c3a6c0d0f1c391626cdccfc5e7900ec37
parentc8eaed458e2cfbd906dbbe1af49aa028f59cc132
mfd: htc-egpio: Use devm_ioremap_nocache() instead of ioremap_nocache()

Replace probe-time ioremap_nocache() call with devm_ioremap_nocache()
to avoid iounmap() missing and get rid of the corresponding iounmap()
call on remove.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/htc-egpio.c