[PATCH v2 04/11] mtd: nand: convert to nand_set_flash_node()

Marek Vasut marex at denx.de
Sat Oct 31 08:17:03 PDT 2015


On Saturday, October 31, 2015 at 04:33:23 AM, Brian Norris wrote:
> Used semantic patch with 'make coccicheck MODE=patch COCCI=script.cocci':
> 
> ---8<----
> virtual patch
> 
> @@
> struct nand_chip *c;
> struct device_node *d;
> @@
> -(c)->flash_node = (d)
> +nand_set_flash_node(c, d)
> ---8<----
> 
> Signed-off-by: Brian Norris <computersforpeace at gmail.com>

Thanks for the educational commit message!

Patch is
Reviewed-by: Marek Vasut <marex at denx.de>

Best regards,
Marek Vasut



More information about the linux-mtd mailing list