mtd: Fix mtd_op_erase for devices >4GiB
The mtd erase file operation has a unnecessary conversion to unsigned
long in the offset. Remove it to make it work with chips >4GiB.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent e9ff55f commit e0ae56c00864b0c1dc77b34d26c4e59096ad5403
@Sascha Hauer Sascha Hauer authored on 8 Feb 2016
Showing 1 changed file
View
drivers/mtd/core.c