OSDN Git Service

mtd: nuc900_nand: remove redundant return value check of platform_get_resource()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 7 Jan 2014 13:38:32 +0000 (21:38 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 20 Jan 2014 19:38:13 +0000 (11:38 -0800)
commit973b88fbfa265788f01e65c8667604bf582d5961
treeb2a2a19429eeee3506367098d2bf78d951bc7e43
parent840f53c31224d687a7c4a24ea118fa3c737407b0
mtd: nuc900_nand: remove redundant return value check of platform_get_resource()

Remove unneeded error handling on the result of a call
to platform_get_resource() when the value is passed to
devm_ioremap_resource().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/nuc900_nand.c