mtd: nand: remove unused ->init_size() hook
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Thu, 1 Oct 2015 14:58:27 +0000 (16:58 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 1 Oct 2015 17:20:15 +0000 (10:20 -0700)
commita7f5ba40c74e67b2c8c6e15425157ab6775621d7
tree54b9956581629789b7a8c1f6c4ae8cfc6e18839b
parent99a3b15572499e31bebc70d3d50bc13c0c49cbac
mtd: nand: remove unused ->init_size() hook

The ->init_size() hook was introduced to let NAND controller drivers
support NAND devices that could not be described in the nand_ids table.
Since then, the core has added support for extended-id parsing and
full-id description, thus allowing to describe pretty much all existing
NANDs.
Moreover, this hook is not used by any mainline driver, and should not be
used by new drivers, because detecting the NAND chip is not something
controller specific.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h