event: Rename rest of EVENT_SPY to EVENT_SPY_FULL or EVENT_SPY*

Fix up remaining occurances of EVENT_SPY with no suffix.

Fixes: 6c4cad7438 ("event: Rename EVENT_SPY to EVENT_SPY_FULL")
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Marek Vasut 2023-09-05 15:48:08 +02:00 committed by Tom Rini
parent d1ca61ca7e
commit e65f6ba08b
2 changed files with 4 additions and 4 deletions

View file

@ -620,7 +620,7 @@ config EVENT_DYNAMIC
bool bool
help help
Enable this to support adding an event spy at runtime, without adding Enable this to support adding an event spy at runtime, without adding
it to the EVENT_SPY() linker list. This increases code size slightly it to the EVENT_SPY*() linker list. This increases code size slightly
but provides more flexibility for boards and subsystems that need it. but provides more flexibility for boards and subsystems that need it.
config EVENT_DEBUG config EVENT_DEBUG
@ -648,7 +648,7 @@ config SPL_EVENT_DYNAMIC
depends on SPL_EVENT && EVENT_DYNAMIC depends on SPL_EVENT && EVENT_DYNAMIC
help help
Enable this to support adding an event spy at runtime, without adding Enable this to support adding an event spy at runtime, without adding
it to the EVENT_SPY() linker list. This increases code size slightly it to the EVENT_SPY*() linker list. This increases code size slightly
but provides more flexibility for boards and subsystems that need it. but provides more flexibility for boards and subsystems that need it.
endif # EVENT endif # EVENT

View file

@ -282,9 +282,9 @@ static inline const char *event_spy_id(struct evspy_info *spy)
* { * {
* return sandbox_early_getopt_check(); * return sandbox_early_getopt_check();
* } * }
* EVENT_SPY(EVT_MISC_INIT_F, sandbox_misc_init_f); * EVENT_SPY_FULL(EVT_MISC_INIT_F, sandbox_misc_init_f);
* *
* where EVENT_SPY uses ll_entry_declare() * where EVENT_SPY_FULL uses ll_entry_declare()
* *
* In this case, LTO decides to drop the sandbox_misc_init_f() function * In this case, LTO decides to drop the sandbox_misc_init_f() function
* (which is fine) but then drops the linker-list entry too. This means * (which is fine) but then drops the linker-list entry too. This means