From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933291AbcH2O3d (ORCPT ); Mon, 29 Aug 2016 10:29:33 -0400 Received: from mail.kernel.org ([198.145.29.136]:38482 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932429AbcH2O3c (ORCPT ); Mon, 29 Aug 2016 10:29:32 -0400 Date: Mon, 29 Aug 2016 22:29:12 +0800 From: Shawn Guo To: Javier Martinez Canillas Cc: linux-kernel@vger.kernel.org, Fabio Estevam , Sascha Hauer , linux-arm-kernel@lists.infradead.org, Russell King Subject: Re: [PATCH v2] ARM: imx: use IS_ENABLED() instead of checking for built-in or module Message-ID: <20160829142911.GT30790@tiger> References: <1472465524-2374-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: <1472465524-2374-1-git-send-email-javier@osg.samsung.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 29, 2016 at 12:12:04PM +0200, 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. > > Using the macro makes the code more readable by helping abstract away some > of the Kconfig built-in and module enable details. > > Signed-off-by: Javier Martinez Canillas Applied, thanks.