Re: [patch 09/15] timers: Rename del_timer() to timer_delete()

From: Steven Rostedt
Date: Mon Nov 21 2022 - 16:09:23 EST


On Tue, 15 Nov 2022 21:28:48 +0100 (CET)
Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:

> The timer related functions do not have a strict timer_ prefixed namespace
> which is really annoying.
>
> Rename del_timer() to timer_delete() and provide del_timer()
> as a wrapper. Document that del_timer() is not for new code.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> ---

Reviewed-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>

BTW, I did a: git "grep del_timer Documentation" and there's a lot of
references to the old name. Perhaps you want to update those too (for both
del_timer() and del_timer_sync()).

-- Steve