]> Pileus Git - ~andy/linux/commit
mtd: nand: pxa3xx: Replace host->page_size by mtd->writesize
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Thu, 7 Nov 2013 15:17:17 +0000 (12:17 -0300)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:11 +0000 (11:22 -0800)
commit0a3f3a1916bcac44a86ca89c874cdcad5e7746e9
tree9e2b85577b502767bb3908fececd9a614649145f
parent2128b08c7c3aaf8b81fb76a0ce9ba37b5492f0db
mtd: nand: pxa3xx: Replace host->page_size by mtd->writesize

There's no need to privately store the device page size as it's
available in mtd structure field mtd->writesize.
Also, this removes the hardcoded page size value, leaving the
auto-detected value only.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Tested-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/pxa3xx_nand.c