]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita6c08d6aa9c539c264e0e9b1c1fd09ed00c06f51
treeec274d2780fa46ae5fa0b5ad2c6d7ad1be3ebb63
parent1613f3004a4eb3ae1d07d1d2b6cce9bcd3fd36e4
mtd: nand: Rename nand_get_flash_type() into nand_detect()

Since commit f572fb21f385 ("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