[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160726064941.GC1772@katana>
Date: Tue, 26 Jul 2016 08:49:41 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: Javier Martinez Canillas <javier@....samsung.com>
Cc: linux-kernel@...r.kernel.org, Jean Delvare <jdelvare@...e.com>,
linux-i2c@...r.kernel.org
Subject: Re: [PATCH] i2c: i801: use IS_ENABLED() instead of checking for
built-in or module
On Thu, Jul 21, 2016 at 12:11:01PM -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.
>
> 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 to for-next, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists