Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mtd: spinand: Remove stale definitions

SPI NAND command values are directly included in the macros defining the
ops. These are stale definitions, they are unused so drop them.

Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>

-6
-6
include/linux/mtd/spinand.h
··· 232 232 SPI_MEM_OP_NO_DUMMY, \ 233 233 SPI_MEM_OP_DATA_OUT(len, buf, 8)) 234 234 235 - /** 236 - * Standard SPI NAND flash commands 237 - */ 238 - #define SPINAND_CMD_PROG_LOAD_X4 0x32 239 - #define SPINAND_CMD_PROG_LOAD_RDM_DATA_X4 0x34 240 - 241 235 /* feature register */ 242 236 #define REG_BLOCK_LOCK 0xa0 243 237 #define BL_ALL_UNLOCKED 0x00