Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1595610

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

From Alexandre Belloni <alexandre.belloni@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH] rtc: omap: mark PM methods as __maybe_unused
Date 2017-03-09 01:50 +0100
Message-ID <tiUrf-5Np-11@gated-at.bofh.it> (permalink)
References <tgmtH-2mO-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@gmail.com>
> ---
>  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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] rtc: omap: mark PM methods as __maybe_unused Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-03-02 01:10 +0100
  Re: [PATCH] rtc: omap: mark PM methods as __maybe_unused Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-03-09 01:50 +0100

csiph-web