Commit f9b97fe6 authored by Brian Norris's avatar Brian Norris

Merge MTD 4.3-rc1 updates into -next

parents 7eadd47f 2ff46e6f
......@@ -1219,7 +1219,7 @@ static const struct flash_info *spi_nor_match_id(const char *name)
{
const struct flash_info *id = spi_nor_ids;
while (id->name[0]) {
while (id->name) {
if (!strcmp(name, id->name))
return id;
id++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment