[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160829142911.GT30790@tiger>
Date: Mon, 29 Aug 2016 22:29:12 +0800
From: Shawn Guo <shawnguo@...nel.org>
To: Javier Martinez Canillas <javier@....samsung.com>
Cc: linux-kernel@...r.kernel.org,
Fabio Estevam <fabio.estevam@....com>,
Sascha Hauer <kernel@...gutronix.de>,
linux-arm-kernel@...ts.infradead.org,
Russell King <linux@...linux.org.uk>
Subject: Re: [PATCH v2] ARM: imx: use IS_ENABLED() instead of checking for
built-in or module
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 <javier@....samsung.com>
Applied, thanks.
Powered by blists - more mailing lists