From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753153AbcD0CBw (ORCPT ); Tue, 26 Apr 2016 22:01:52 -0400 Received: from mail-pf0-f178.google.com ([209.85.192.178]:34967 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753002AbcD0CBn (ORCPT ); Tue, 26 Apr 2016 22:01:43 -0400 Date: Wed, 27 Apr 2016 07:31:40 +0530 From: Viresh Kumar To: Javier Martinez Canillas Cc: linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , linux-pm@vger.kernel.org Subject: Re: [PATCH] cpufreq: Use IS_ENABLED() instead of checking for built-in or module Message-ID: <20160427020140.GU17047@vireshk-i7> References: <1461716053-17722-1-git-send-email-javier@osg.samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1461716053-17722-1-git-send-email-javier@osg.samsung.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26-04-16, 20:14, 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/cpufreq/e_powersaver.c | 14 +++++++------- > drivers/cpufreq/ppc_cbe_cpufreq.h | 2 +- > 2 files changed, 8 insertions(+), 8 deletions(-) Acked-by: Viresh Kumar -- viresh