Re: [PATCH] clocksource/drivers/timer-of: mark timer_of_exit as __init

From: Sudeep Holla
Date: Mon Nov 13 2017 - 10:10:56 EST




On 13/11/17 14:58, Daniel Lezcano wrote:
> On 13/11/2017 11:11, Sudeep Holla wrote:

[..]

>>
>> Agreed, may be if we add users which is called from init functions, the
>> warning should disappear. Also as tglx suggested, we could rename if it's
>> just used from init function error/exit paths.
>
> The drivers are not compiled as module AFAICT, the function will be
> called in the init error path.
>

Understood, IMO better to rename the functions as cleanup or something
similar. exit made it sound differently and since there were no users,
I assumed it to be used in remove/exit functions. Sorry for the noise.

--
Regards,
Sudeep