[PATCH -next] mtd: plat_nand: remove redundant return value check of platform_get_resource()

Brian Norris computersforpeace at gmail.com
Mon Jan 20 14:38:55 EST 2014


On Wed, Jan 08, 2014 at 09:03:24AM +0900, Jingoo Han wrote:
> On Tuesday, January 07, 2014 10:38 PM, Wei Yongjun wrote:
> > 
> > From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
> > 
> > Remove unneeded error handling on the result of a call
> > to platform_get_resource() when the value is passed to
> > devm_ioremap_resource(). And move those two call together
> > to make the connection between them more clear.
> > 
> > Signed-off-by: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
> 
> Reviewed-by: Jingoo Han <jg1.han at samsung.com>

Pushed to l2-mtd.git. Thanks!

Brian



More information about the linux-mtd mailing list