]> 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)
commit8a8e1d1d7a93cde719998d0ce7ba3edc11929fd8
treeec274d2780fa46ae5fa0b5ad2c6d7ad1be3ebb63
parentd576ab0ebdfc503c5d41cbc249810098d02bada0
mtd: nand: Rename nand_get_flash_type() into nand_detect()

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