pinctrl: sunxi: Switch to devm_ioremap_resource
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sat, 26 Apr 2014 19:59:50 +0000 (21:59 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 4 May 2014 06:59:44 +0000 (23:59 -0700)
commit4409cafc1a4ce73ffc4a2107cda85fc1f034def0
tree6bbb8217b09c3b21a37242e9e6fa10bafced2c2b
parentd10acc635330d6089601fd01d482ecda32e02c45
pinctrl: sunxi: Switch to devm_ioremap_resource

The previous code was calling of_iomap, which doesn't do any resource
management, and doesn't call request_mem_region either. Use
devm_ioremap_resource that do both.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/pinctrl/sunxi/pinctrl-sunxi.c