From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754700AbcHVHkd (ORCPT ); Mon, 22 Aug 2016 03:40:33 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:35051 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754654AbcHVHkE (ORCPT ); Mon, 22 Aug 2016 03:40:04 -0400 Date: Mon, 22 Aug 2016 09:40:00 +0200 From: Johan Hovold To: Javier Martinez Canillas Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , linux-usb@vger.kernel.org, Johan Hovold Subject: Re: [PATCH 3/3] USB: serial: use IS_ENABLED() instead of checking for built-in or module Message-ID: <20160822074000.GA2704@localhost> References: <1471527906-16604-1-git-send-email-javier@osg.samsung.com> <1471527906-16604-3-git-send-email-javier@osg.samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1471527906-16604-3-git-send-email-javier@osg.samsung.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Now applied, thanks. Johan