]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3fb14b6903b9352c86a49d017153769ac356230c
tree54b9956581629789b7a8c1f6c4ae8cfc6e18839b
parentcd5dfe6349399bf09767488c8ecc33afc8e4df5d
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