mtd: spi-nor: allow NULL as chip name and try to auto detect it
authorRafał Miłecki <zajec5@gmail.com>
Mon, 1 Dec 2014 08:42:16 +0000 (09:42 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 1 Dec 2014 18:21:42 +0000 (10:21 -0800)
commit58c81957b7d284c57a9fc1b815c77155ef744ea5
treeb33c19eab6c57813ebc6df7ab22255ceb235b818
parent7ca94e07fe8ccbaca9ecb59f388ab8dd93c73e88
mtd: spi-nor: allow NULL as chip name and try to auto detect it

This will allow spi-nor users to plainly use JEDEC to detect flash chip.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/spi-nor/spi-nor.c