Re: [PATCH] rtc: omap: mark PM methods as __maybe_unused

From: Alexandre Belloni
Date: Wed Mar 08 2017 - 19:43:24 EST


On 01/03/2017 at 15:34:38 -0800, Dmitry Torokhov wrote:
> Instead of using #ifdef guards around PM methods, let's annotate
> them as __maybe_unused, as it provides better compile coverage.
>
> Also drop empty stub for omap_rtc_runtime_resume().
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> ---
> drivers/rtc/rtc-omap.c | 18 ++++--------------
> 1 file changed, 4 insertions(+), 14 deletions(-)
>
Applied, thanks.

--
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com