I2C: mv64xxx: use devm_ioremap_resource()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 16 May 2013 20:33:09 +0000 (21:33 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 5 Jun 2013 21:06:43 +0000 (23:06 +0200)
commit16874b0709c7c78489de1f502edd33acad2918e8
treec5c1e862508128e35d039e9e7ac40349373713a6
parentd5ac456144413950d2d32ec4f22542e45be13cd7
I2C: mv64xxx: use devm_ioremap_resource()

Eliminate reg_base_p and reg_size, mv64xxx_i2c_unmap_regs() and an
unchecked ioremap() return from this driver by using the devm_*
API for requesting and ioremapping resources.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-mv64xxx.c