]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: nand: rename the id field of 'struct nand_flash_dev'
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 4 Mar 2013 14:05:00 +0000 (16:05 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 11 Mar 2013 07:33:24 +0000 (09:33 +0200)
commitb3ef8f47d25a6bd297be2fe84489d60ab6dff444
treee1ddc18e475dd7daae5691a1de89a2bff1b3d6db
parentef551f5ae9df4b832f870670a8e6edddc5506cff
mtd: nand: rename the id field of 'struct nand_flash_dev'

The 'id' is a bit confusing name because NAND IDs are multi-byte. Re-name
it to 'dev_id' to make it clear that this is the "device ID" part (the second
byte).

While on it, clean-up the commentary for 'struct nand_flash_dev'.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Acked-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/doc2000.c
drivers/mtd/devices/doc2001.c
drivers/mtd/devices/doc2001plus.c
drivers/mtd/nand/nand_base.c
drivers/mtd/nand/nandsim.c
drivers/mtd/nand/pxa3xx_nand.c
include/linux/mtd/nand.h