Re: [PATCH v2] HID: use IS_ENABLED() instead of checking for built-in or module

From: Jiri Kosina
Date: Tue Aug 02 2016 - 14:56:24 EST


On Thu, 21 Jul 2016, 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.

Applied, thanks.

--
Jiri Kosina
SUSE Labs