spi-nor: Remove spi_nor::read_id operation
authorBen Hutchings <ben@decadent.org.uk>
Tue, 30 Sep 2014 02:15:04 +0000 (03:15 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 22 Oct 2014 05:29:10 +0000 (22:29 -0700)
commite66fcf722a74786c500957608f3230e843960b42
treeff160a4b8f64c0024cfb77d86434584162bb2b29
parent8c98d2554f715260efb3e779a9cfe045c4af8aa0
spi-nor: Remove spi_nor::read_id operation

There is currently no useful way to override the default
implementation of this operation.  The returned struct spi_device_id
must have a pointer to struct flash_info in its private data, but this
structure is defined inside spi-nor.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/spi-nor/spi-nor.c
include/linux/mtd/spi-nor.h