From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Sender: rtc-linux@googlegroups.com Received: from mail.free-electrons.com (down.free-electrons.com. [37.187.137.238]) by gmr-mx.google.com with ESMTP id a65si1433303wma.0.2016.05.03.02.55.11 for ; Tue, 03 May 2016 02:55:11 -0700 (PDT) Date: Tue, 3 May 2016 11:55:00 +0200 From: Alexandre Belloni To: Javier Martinez Canillas Cc: linux-kernel@vger.kernel.org, rtc-linux@googlegroups.com, Alessandro Zummo Subject: [rtc-linux] Re: [PATCH] rtc: Use IS_ENABLED() instead of checking for built-in or module Message-ID: <20160503095500.GF2335@piout.net> References: <1461709055-28312-1-git-send-email-javier@osg.samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 In-Reply-To: <1461709055-28312-1-git-send-email-javier@osg.samsung.com> Reply-To: rtc-linux@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , On 26/04/2016 at 18:17:35 -0400, Javier Martinez Canillas wrote : > The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either > built-in or as a module, use that macro instead of open coding the same. > > Signed-off-by: Javier Martinez Canillas > > --- > > drivers/rtc/rtc-cmos.c | 2 +- > drivers/rtc/rtc-mrst.c | 2 +- > drivers/rtc/rtc-rs5c372.c | 8 ++++---- > 3 files changed, 6 insertions(+), 6 deletions(-) > Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.