From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754740AbdCIAmk (ORCPT ); Wed, 8 Mar 2017 19:42:40 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:51516 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752874AbdCIAmf (ORCPT ); Wed, 8 Mar 2017 19:42:35 -0500 Date: Thu, 9 Mar 2017 01:33:32 +0100 From: Alexandre Belloni To: Dmitry Torokhov Cc: Alessandro Zummo , rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] rtc: omap: mark PM methods as __maybe_unused Message-ID: <20170309003332.32etwopdahi4t3ql@piout.net> References: <20170301233438.GA9018@dtor-ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170301233438.GA9018@dtor-ws> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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