diff options
| author | Simon Glass <[email protected]> | 2024-09-29 19:49:40 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-10-11 11:44:47 -0600 |
| commit | 80580cd98167771a0aae4a6c4c7ffe6d7e70a155 (patch) | |
| tree | 19aaef7965db7424a95698294897bff9d29086db /include | |
| parent | 6c49fc5882baa2c496b03f8260a5b21ef48ed9c5 (diff) | |
xpl: Rename spl_phase_prefix() and spl_phase_name()
Use simpler names for these functions.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/spl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/spl.h b/include/spl.h index 50ffe4f79f9..b2978d8bbaf 100644 --- a/include/spl.h +++ b/include/spl.h @@ -194,11 +194,11 @@ static inline enum xpl_phase_t xpl_next_phase(void) } /** - * spl_phase_name() - Get the name of the current phase + * xpl_name() - Get the name of a phase * * Return: phase name */ -static inline const char *spl_phase_name(enum xpl_phase_t phase) +static inline const char *xpl_name(enum xpl_phase_t phase) { switch (phase) { case PHASE_TPL: @@ -216,12 +216,12 @@ static inline const char *spl_phase_name(enum xpl_phase_t phase) } /** - * spl_phase_prefix() - Get the prefix of the current phase + * xpl_prefix() - Get the prefix of the current phase * * @phase: Phase to look up * Return: phase prefix ("spl", "tpl", etc.) */ -static inline const char *spl_phase_prefix(enum xpl_phase_t phase) +static inline const char *xpl_prefix(enum xpl_phase_t phase) { switch (phase) { case PHASE_TPL: |
