i2c-s3c2410: Convert to devm_kzalloc()

Saves remembering to call kfree(). There's some kfree()s used by the
resource still, these will be removed in 3.3 using the newly added
devm_request_and_ioremap().

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
This commit is contained in:
Mark Brown 2012-01-21 13:28:46 +00:00 • committed by Wolfram Sang
commit 4ea1557ff7