mtd: nand: remove 'sndcmd' parameter of 'read_oob/read_oob_raw'
authorShmulik Ladkani <shmulik.ladkani@gmail.com>
Wed, 9 May 2012 10:06:35 +0000 (13:06 +0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 14 May 2012 04:24:40 +0000 (23:24 -0500)
commit5c2ffb11d40dd967eecb45b8570a871746ba124b
tree234ae261e6db2eb23303a908e84a66780e807ce3
parent4fba37aec7e43f7c80a89425cc820622fcf07464
mtd: nand: remove 'sndcmd' parameter of 'read_oob/read_oob_raw'

As of [mtd: nand: remove autoincrement 'sndcmd' code], the
NAND_CMD_READ0 command is issued unconditionally.

Thus, read_oob/read_oob_raw's 'sndcmd' argument is no longer needed, as
well as their return code.

Remove the 'sndcmd' parameter, and set the return code to 0.

Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/cafe_nand.c
drivers/mtd/nand/denali.c
drivers/mtd/nand/docg4.c
drivers/mtd/nand/gpmi-nand/gpmi-nand.c
drivers/mtd/nand/nand_base.c
drivers/mtd/nand/r852.c
include/linux/mtd/nand.h