Re: [PATCH v1 3/7] clocksource/drivers/sun5i: Add module owner

From: Chen-Yu Tsai
Date: Tue Jun 03 2025 - 00:41:55 EST


On Mon, Jun 2, 2025 at 11:19 PM Daniel Lezcano
<daniel.lezcano@xxxxxxxxxx> wrote:
>
> The conversion to modules requires a correct handling of the module
> refcount in order to prevent to unload it if it is in use. That is
> especially true with the clockevents where there is no function to
> unregister them.
>
> The core time framework correctly handles the module refcount with the
> different clocksource and clockevents if the module owner is set.
>
> Add the module owner to make sure the core framework will prevent
> stupid things happening when the driver will be converted into a
> module.
>
> Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>

Acked-by: Chen-Yu Tsai <wens@xxxxxxxx>