aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorTakahiro Kuwano <[email protected]>2024-02-20 17:34:07 +0900
committerTudor Ambarus <[email protected]>2024-02-26 13:17:43 +0200
commitdf6e36edac23f096fae45d0a8fe2efcf0e77aebe (patch)
treea9f2d4d20ed68b72d68afeb0a797421b58adea7f /tools/perf/util/trace-event-scripting.c
parent0e164238bb0752e341f01639438c35822d4488b2 (diff)
mtd: spi-nor: core: get rid of SNOR_LAST_REGION flag
Introduce n_regions in spi_nor_erase_map structure and remove SNOR_LAST_REGION flag. Loop logics that depend on the flag are also reworked to use n_regions as loop condition. Signed-off-by: Takahiro Kuwano <[email protected]> Suggested-by: Tudor Ambarus <[email protected]> Suggested-by: Michael Walle <[email protected]> Reviewed-by: Michael Walle <[email protected]> Link: https://lore.kernel.org/r/eded84294bd81e966d6f423e578fc2cfb9a4a5b6.1708404584.git.Takahiro.Kuwano@infineon.com [ta: update spi_nor_init_erase_cmd_list() and break the for loop sooner.] Signed-off-by: Tudor Ambarus <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions