[PATCH] mtd: nand: lpc32xx_slc: Remove unneeded NULL check on 'rc'

Vladimir Zapolskiy vz at mleia.com
Wed Dec 7 17:44:10 PST 2016


Hi Fabio,

On 11/29/2016 05:28 PM, Fabio Estevam wrote:
> devm_ioremap_resource() does a NULL check on the 'rc' argument, so
> remove the unneeded manual NULL check.
> 
> While at it, place the 'rc' assignment just before
> devm_ioremap_resource() to improve readability.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>
> ---

thank you for the change, it is nice.

Acked-by: Vladimir Zapolskiy <vz at mleia.com>

--
With best wishes,
Vladimir



More information about the linux-mtd mailing list