Merge MTD 4.3-rc1 updates into -next

This commit is contained in:
Brian Norris 2015-09-09 16:57:39 -07:00
commit f9b97fe614
1 changed files with 1 additions and 1 deletions

View File

@ -1219,7 +1219,7 @@ static const struct flash_info *spi_nor_match_id(const char *name)
{ {
const struct flash_info *id = spi_nor_ids; const struct flash_info *id = spi_nor_ids;
while (id->name[0]) { while (id->name) {
if (!strcmp(name, id->name)) if (!strcmp(name, id->name))
return id; return id;
id++; id++;