[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160822074000.GA2704@localhost>
Date: Mon, 22 Aug 2016 09:40:00 +0200
From: Johan Hovold <johan@...nel.org>
To: Javier Martinez Canillas <javier@....samsung.com>
Cc: linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-usb@...r.kernel.org, Johan Hovold <johan@...nel.org>
Subject: Re: [PATCH 3/3] USB: serial: use IS_ENABLED() instead of checking
for built-in or module
On Thu, Aug 18, 2016 at 09:45:06AM -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>
Now applied, thanks.
Johan
Powered by blists - more mailing lists