commit | 7398c1b758e70708edc1d0aced2e2b07ded1ed7e | [log] [tgz] |
---|---|---|
author | Marek BehĂșn <marek.behun@nic.cz> | Tue Oct 05 15:56:02 2021 +0200 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Sat Oct 23 15:47:33 2021 +0530 |
tree | d8c2c0b05a9f8d16980bb2c41b751a1e3078636d | |
parent | a67b3719f32673a9890700c72b980acbd2749e49 [diff] |
mtd: spi-nor-core: Don't check for zero length in spi_nor_write() / spi_nor_erase() This check is already done in all callers: mtdcore's mtd_write() / mtd_erase(), legacy spi_nor_write() / spi_flash_erase(). No reason to do this here as well. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>