sys/util.h: remove deprecated MACRO_MAP()

Since this is an experimental API and MACRO_MAP() was deprecated in
favor of FOR_EACH() in zephyr v2.3.0, we are within our rights to just
remove it without notice now. Do so and mention it in the release
notes.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Martí Bolívar 2020-06-15 09:59:23 -07:00 committed by Carles Cufí
commit 1af73a66ab
2 changed files with 4 additions and 13 deletions

View file

@ -48,6 +48,10 @@ Deprecated in this release
Removed APIs in this release Removed APIs in this release
============================ ============================
* Other
* The deprecated ``MACRO_MAP`` macro has been removed from the
:ref:`util_api`. Use ``FOR_EACH`` instead.
Stable API changes in this release Stable API changes in this release
================================== ==================================

View file

@ -724,19 +724,6 @@ uint8_t u8_to_dec(char *buf, uint8_t buflen, uint8_t value);
20, 19, 18, 17, 16, 15, 14, 13, 12, 11, \ 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, \
10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, ~) 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, ~)
/**
* Equivalent to FOR_EACH(F, (), ...).
*
* @deprecated Use FOR_EACH instead.
*
* @param F Macro name to be used for argument processing Macro should have
* following form: MACRO(argument).
* @param ... Arguments to process.
*
* @return All arguments processed by given macro
*/
#define MACRO_MAP(F, ...) __DEPRECATED_MACRO FOR_EACH(F, (), __VA_ARGS__)
/** /**
* @brief Mapping macro that pastes results together * @brief Mapping macro that pastes results together
* *