diff mbox

mtd: nand: remove kerneldoc for removed function parameter

Message ID 1457642843-16935-1-git-send-email-computersforpeace@gmail.com
State Accepted
Commit 6871c1b96de88d3576d935b528fd1b0ec70e81f5
Headers show

Commit Message

Brian Norris March 10, 2016, 8:47 p.m. UTC
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@intel.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
---
 drivers/mtd/nand/nand_base.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Boris Brezillon March 11, 2016, 9:47 a.m. UTC | #1
On Thu, 10 Mar 2016 12:47:23 -0800
Brian Norris <computersforpeace@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@intel.com>
> Signed-off-by: Brian Norris <computersforpeace@gmail.com>

Acked-by: Boris Brezillon <boris.brezillon@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.
>   */
Brian Norris March 11, 2016, 5:41 p.m. UTC | #2
On Fri, Mar 11, 2016 at 10:47:28AM +0100, Boris Brezillon wrote:
> On Thu, 10 Mar 2016 12:47:23 -0800
> Brian Norris <computersforpeace@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@intel.com>
> > Signed-off-by: Brian Norris <computersforpeace@gmail.com>
> 
> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>

Applied
diff mbox

Patch

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.
  */