Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9AC84C433E0 for ; Wed, 24 Feb 2021 13:18:41 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 15FFE64EEC for ; Wed, 24 Feb 2021 13:18:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 15FFE64EEC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe :List-Id:In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=hP+dbnvwrZYQ//26Ofy+L0vTLcrXjQCZBGRx1Om2fHQ=; b=CP9oBlN+n9kpuIR9wplFZKcevt C5yE7AlgYA/fRhBe9GljN/B5YIL9aQI1LAiOTlTOv+37hqcriplgvi8MhQRGVDw84jZkD5JRKpigy zmPQSn37v/AoXdADagqG9qf6mOyz+Lt/WIxWDhosrkpOIhKOoPaT2SAL+vyD+I4k9OaBIGSrsqg2B N2hfB3h6cXZHbWbIjVwSp+8i/UpME6iWn8opUhQXo339aFkh6D0WEUOGxSW1GGN8/T7oSVLLzQ83u XdV5mQel0BZb5udPKQjWq4B+ZfQ7T4bJ3YYOPaBIx+8Nb6YVdZc52whj9q7MMWCIwhqHkiIqA7Z4d DarvE7RQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lEu0Q-00074q-9n; Wed, 24 Feb 2021 13:15:06 +0000 Received: from mga07.intel.com ([134.134.136.100]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lEu0M-00074M-3b for linux-arm-kernel@lists.infradead.org; Wed, 24 Feb 2021 13:15:04 +0000 IronPort-SDR: ggQE6yPsc+HNk/WxAeZxuXs58B+uZQH+j8B6OYHIOL+IBSe2ca3khAKx+rsMDRs5Ze2CaKpIbV O2YVy8bg906w== X-IronPort-AV: E=McAfee;i="6000,8403,9904"; a="249214983" X-IronPort-AV: E=Sophos;i="5.81,203,1610438400"; d="scan'208";a="249214983" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Feb 2021 05:14:59 -0800 IronPort-SDR: BviNf1teYLcxlXJy+VsxD6xV+Brrp51P6xuZYYxpXGkOOeBDDcUPjZMTWE7QAUsCJ/Ggzw+rVj CfUA5uXF2SZA== X-IronPort-AV: E=Sophos;i="5.81,203,1610438400"; d="scan'208";a="499574629" Received: from unknown (HELO smile) ([10.237.68.40]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Feb 2021 05:14:57 -0800 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1lEu0E-007mBJ-Ff; Wed, 24 Feb 2021 15:14:54 +0200 Date: Wed, 24 Feb 2021 15:14:54 +0200 From: Andy Shevchenko To: Russell King , linux-arm-kernel@lists.infradead.org, Bartosz Golaszewski , linux-gpio Subject: Re: [PATCH v1] ARM: Drop ARCH_NR_GPIOS definition Message-ID: References: <20201012154709.68521-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201012154709.68521-1-andriy.shevchenko@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210224_081502_365181_636C7415 X-CRM114-Status: GOOD ( 16.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Oct 12, 2020 at 06:47:09PM +0300, Andy Shevchenko wrote: > The conditional by the generic header is the same, > hence drop unnecessary duplication. Any comment on this anybody? > Signed-off-by: Andy Shevchenko > --- > arch/arm/include/asm/gpio.h | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h > index c50e383358c4..f3bb8a2bf788 100644 > --- a/arch/arm/include/asm/gpio.h > +++ b/arch/arm/include/asm/gpio.h > @@ -2,10 +2,6 @@ > #ifndef _ARCH_ARM_GPIO_H > #define _ARCH_ARM_GPIO_H > > -#if CONFIG_ARCH_NR_GPIO > 0 > -#define ARCH_NR_GPIOS CONFIG_ARCH_NR_GPIO > -#endif > - > /* Note: this may rely upon the value of ARCH_NR_GPIOS set in mach/gpio.h */ > #include > > -- > 2.28.0 > -- With Best Regards, Andy Shevchenko _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel