From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754790AbcHZPnG (ORCPT ); Fri, 26 Aug 2016 11:43:06 -0400 Received: from muru.com ([72.249.23.125]:46454 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751139AbcHZPnE (ORCPT ); Fri, 26 Aug 2016 11:43:04 -0400 Date: Fri, 26 Aug 2016 08:43:01 -0700 From: Tony Lindgren To: Javier Martinez Canillas Cc: linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Subject: Re: [PATCH 1/2] ARM: OMAP1: use IS_ENABLED() instead of checking for built-in or module Message-ID: <20160826154301.p7lyj4qnkcl2kxdj@atomide.com> References: <1470943785-21282-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: <1470943785-21282-1-git-send-email-javier@osg.samsung.com> User-Agent: Mutt/1.6.2-neo (2016-07-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Javier Martinez Canillas [160811 12:30]: > 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. Applying both patches into omap-for-v4.9/soc thanks. Tony