]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit14380f43803cb0cc5299e617804fe35f1ed4c5a8
treeb2a2a19429eeee3506367098d2bf78d951bc7e43
parent2347f9ebf3801c5e7311931015975fd9cfef1b28
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