[PATCH] mtd: nand: remove kerneldoc for removed function parameter
Boris Brezillon
boris.brezillon at free-electrons.com
Fri Mar 11 01:47:28 PST 2016
On Thu, 10 Mar 2016 12:47:23 -0800
Brian Norris <computersforpeace at gmail.com> wrote:
> The 'getchip' parameter is gone as of commit 9f3e04297b08 ("mtd: nand:
> don't select chip in nand_chip's block_bad op"), so kill the doc with
> it.
>
> Reported-by: kbuild test robot <fengguang.wu at intel.com>
> Signed-off-by: Brian Norris <computersforpeace at gmail.com>
Acked-by: Boris Brezillon <boris.brezillon at free-electrons.com>
> ---
> drivers/mtd/nand/nand_base.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
> index d49b01df3513..b6facac54fc0 100644
> --- a/drivers/mtd/nand/nand_base.c
> +++ b/drivers/mtd/nand/nand_base.c
> @@ -313,7 +313,6 @@ static void nand_read_buf16(struct mtd_info *mtd, uint8_t *buf, int len)
> * nand_block_bad - [DEFAULT] Read bad block marker from the chip
> * @mtd: MTD device structure
> * @ofs: offset from device start
> - * @getchip: 0, if the chip is already selected
> *
> * Check, if the block is bad.
> */
--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the linux-mtd
mailing list