u-boot/drivers/mtd/ubi
Marek Behún 0d1ecc99cb mtd: Remove mtd_erase_callback() entirely
The original purpose of mtd_erase_callback() in Linux at the time it was
imported to U-Boot, was to inform the caller that erasing is done (since
it was an asynchronous operation).

All supplied callback methods in U-Boot do nothing, but the
mtd_erase_callback() function was (until previous patch) grossly abused
in U-Boot's mtdpart implementation for completely different purpose.

Since we got rid of the abusement, remove the mtd_erase_callback()
function and the .callback member from struct erase_info entirely, in
order to avoid such problems in the future.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
2021-10-23 15:47:33 +05:30
..
attach.c common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
build.c WS cleanup: remove trailing white space 2021-09-30 08:08:56 -04:00
crc32.c WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
crc32defs.h UBI: Add basic UBI support to U-Boot (Part 2/8) 2008-11-19 20:34:39 +01:00
crc32table.h mtd, ubi, ubifs: resync with Linux-3.14 2014-08-25 19:25:55 -04:00
debug.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
debug.h mtd: ubi, ubifs debug: Use pr_debug instead of pr_crit 2019-04-09 07:46:42 +02:00
eba.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
fastmap-wl.c ubi: fastmap: Implement produce_free_peb() 2018-05-22 11:39:05 +02:00
fastmap.c common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
io.c mtd: Remove mtd_erase_callback() entirely 2021-10-23 15:47:33 +05:30
kapi.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
Kconfig Kconfig: Remove all default n/no options 2021-08-31 17:47:49 -04:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
misc.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ubi-media.h ubi: provide a way to skip CRC checks 2019-10-16 05:42:27 +02:00
ubi.h ubi: provide a way to skip CRC checks 2019-10-16 05:42:27 +02:00
upd.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
vmt.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
vtbl.c common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
wl.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
wl.h ubi,ubifs: sync with linux v4.2 2015-10-26 09:22:36 +01:00