omap-gpmc: use SECTOR_BYTES instead of hardcoded value
authorLadislav Michl <ladis@linux-mips.org>
Mon, 9 Jan 2017 10:15:14 +0000 (11:15 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 14 Jan 2017 21:47:18 +0000 (16:47 -0500)
commit6fe7fe12ccfe4e3f068e6adb624a3092e7e852c9
treea50ad84de07b3af396878d330bf81bc8985cc1dd
parent506c66ee9c9a3c2a463285687124c87a7e961a3e
omap-gpmc: use SECTOR_BYTES instead of hardcoded value

Replace hardcoded value with defined constant SECTOR_BYTES.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/mtd/nand/omap_gpmc.c