mtd: nand: Rename nand_get_flash_type() into nand_detect()
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 24 May 2016 18:55:33 +0000 (20:55 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 8 Mar 2017 22:21:17 +0000 (23:21 +0100)
commit7bb427990ee36482afcae859b1883e5fa1244ef2
treeec274d2780fa46ae5fa0b5ad2c6d7ad1be3ebb63
parent29a198a1592d83f2bc1be3b2631b3bcf3d5b380f
mtd: nand: Rename nand_get_flash_type() into nand_detect()

Since commit 4722c0e958e6 ("mtd: nand: change return type of
nand_get_flash_type() to int"), nand_get_flash_type() no longer returns
a nand_flash_dev object.
Rename the function to match this new behavior.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Richard Weinberger <richard@nod.at>
drivers/mtd/nand/nand_base.c