From patchwork Mon Oct 12 15:40:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 269614 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=-12.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 96E4DC352B8 for ; Mon, 12 Oct 2020 15:41:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6DA9E2087E for ; Mon, 12 Oct 2020 15:41:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390721AbgJLPlM (ORCPT ); Mon, 12 Oct 2020 11:41:12 -0400 Received: from mga14.intel.com ([192.55.52.115]:17387 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390658AbgJLPk5 (ORCPT ); Mon, 12 Oct 2020 11:40:57 -0400 IronPort-SDR: lu2lKOVHXIjuGwiM/fONSfjn9x36J6yc8IYbSJrQEEewb/7HFtOHGTjXSx10RRYM3gPbJUBna+ gBw3SY3oifDQ== X-IronPort-AV: E=McAfee;i="6000,8403,9772"; a="164972682" X-IronPort-AV: E=Sophos;i="5.77,367,1596524400"; d="scan'208";a="164972682" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2020 08:40:55 -0700 IronPort-SDR: wjOZCdSOf/tq3kbUFuZAePjIhnSwKzaP5YyybXQwPFmGadIGKGTWjUJRHKh+vReb5aokpd7xXm swNGgRpl3uqQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,367,1596524400"; d="scan'208";a="530011339" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga005.jf.intel.com with ESMTP; 12 Oct 2020 08:40:53 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 9A94A163; Mon, 12 Oct 2020 18:40:51 +0300 (EEST) From: Andy Shevchenko To: Yoshinori Sato , Rich Felker , linux-sh@vger.kernel.org, Bartosz Golaszewski , linux-gpio Cc: Andy Shevchenko Subject: [PATCH v1] sh: Drop ARCH_NR_GPIOS definition Date: Mon, 12 Oct 2020 18:40:50 +0300 Message-Id: <20201012154050.68039-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The default by generic header is the same, hence drop unnecessary definition. Signed-off-by: Andy Shevchenko Acked-by: Rob Landley Tested-by: John Paul Adrian Glaubitz Acked-by: John Paul Adrian Glaubitz --- arch/sh/include/asm/gpio.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/sh/include/asm/gpio.h b/arch/sh/include/asm/gpio.h index 351918894e86..d643250f0a0f 100644 --- a/arch/sh/include/asm/gpio.h +++ b/arch/sh/include/asm/gpio.h @@ -16,7 +16,6 @@ #include #endif -#define ARCH_NR_GPIOS 512 #include #ifdef CONFIG_GPIOLIB