mtd: nand: assign mtd->name in find_full_id_nand
authorCai Zhiyong <caizhiyong@huawei.com>
Wed, 25 Dec 2013 13:19:21 +0000 (21:19 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Sat, 11 Jan 2014 20:07:18 +0000 (12:07 -0800)
This patch assigned the type->name to mtd->name when mtd->name is
NULL in function "find_full_id_nand".
mtd->name is NULL may cause some problem.

Signed-off-by: Cai Zhiyong <caizhiyong@huawei.com>
Acked-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>

No differences found