i2c: pnx: Use devm_*() functions
authorJingoo Han <jg1.han@samsung.com>
Tue, 14 Jan 2014 00:19:30 +0000 (09:19 +0900)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 16 Jan 2014 10:15:50 +0000 (11:15 +0100)
Use devm_*() functions to make cleanup paths simpler,
and remove redundant return value check of platform_get_resource()
because the value is checked by devm_ioremap_resource().

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-pnx.c
include/linux/i2c-pnx.h

Simple merge
Simple merge