]> 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>
Tue, 19 Mar 2013 08:19:55 +0000 (10:19 +0200)
commit0ce1abd5e243ce0fbee17fed0a820b4cbfc1623c
tree2a625e3cc73056401f43fe8d9dbba8029d6331f8
parentb3d10aec7e20e19bb24d3c36404092d5243f5556
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