commit | 0a3f3a1916bcac44a86ca89c874cdcad5e7746e9 | [log] [tgz] |
---|---|---|
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | Thu Nov 07 12:17:17 2013 -0300 |
committer | Brian Norris <computersforpeace@gmail.com> | Fri Jan 03 11:22:11 2014 -0800 |
tree | 9e2b85577b502767bb3908fececd9a614649145f | |
parent | 2128b08c7c3aaf8b81fb76a0ce9ba37b5492f0db [diff] |
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>