]> www.infradead.org Git - mtd-utils.git/commit
mtd-tests: flash_speed: Drop read_eraseblock_by_page()
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 26 Aug 2024 09:46:28 +0000 (11:46 +0200)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Tue, 8 Oct 2024 06:14:57 +0000 (08:14 +0200)
commit472335f7c6f13f6c82b2bb53dd0780901dbeacda
tree77e9f5b4334f8cc4ee4639766fcd549e2f57dc31
parent661841fe2fbd3cb43c15eb6f760bfbbb1883c793
mtd-tests: flash_speed: Drop read_eraseblock_by_page()

The read_eraseblock_by_2pages() has been generalized so it became
read_eraseblock_by_npages(), but there is no limitation (besides 0)
regarding the number of pages. Hence, drop the _by_page() helper and
replace it with the _by_npages(), using 'npages = 1'.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
tests/mtd-tests/flash_speed.c