From patchwork Thu Aug 4 10:49:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 12936259 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E82B5C19F2B for ; Thu, 4 Aug 2022 10:50:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dhpuYT6a2ociptcZmk/QkA9M/jWTOFHqSh5dtRxcnOQ=; b=wKU2w9W4/IXNy3 wdNIaelwQRBHlQE+Iugjzv7tp+JRC46k8m4G+pGsUUZavKUEPKKv6NW/cseaFiv5c9ONGZmoeDF5i KXW4ZoJuYUw9NBOYUAbbFqxXSwowEfSn9s0tHb8FxO9TsAz+lKjcIEaB13ikK4QKhh5nLyvYcwMqe 3Rm5eVLsV6+zO7hzRMpKwBshLEyF4Fxc5XCfkhEVzOWj3Sz5lI8EK2ELoqPvNLwwjA+MONkQJgtZD feLejZQVckQekfUumB1PtsJhX97f3hj3stIjfMEEnPJvHjcxgYJo7htbPu88TgRJ9aY6Vkb849Sf6 uQtybN/3p24HyyLePQEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oJYQH-005Kun-2k; Thu, 04 Aug 2022 10:49:49 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oJYPw-005Kov-7r for linux-arm-kernel@lists.infradead.org; Thu, 04 Aug 2022 10:49:30 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CBC7B61640; Thu, 4 Aug 2022 10:49:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 11E3AC43141; Thu, 4 Aug 2022 10:49:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659610167; bh=1rb6O8LRdwEcTR40sjSsN+WfgRWcVvhq+f42Fyg1OW8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vBTzW6oI6uguIyuzonnR/66G5d4XkxfKmdqY+HsKz0HP3J3iDgWTH1gwIwSozqSD4 W0olwUkNn2wXPdJHXXcBb2jw2YC5mDnnKiIUrqveYnTnwYQkIXOWDxsHsucGhc4/qG SGaGDk2JoReERhEetWk3wa2llIAzdAKv+Kc7mPamUJovmtWRij4UyLNnrF+hxoFKZN pUP07ZZfD7BusD9NJQ7RxSfF+FqiOtv/IHaKsws2h5wyQvL6Pc832Lc8yCuanFkWwB He4scGy1E+cQJS134EVg9rpJVROaNvjx1SgLvE5ueJRcr9aYiAtzBcPOnPL4viFEgO N1FIvFqdhOH1g== Received: by pali.im (Postfix) id B7FFAB0F; Thu, 4 Aug 2022 12:49:24 +0200 (CEST) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Linus Walleij Cc: =?utf-8?q?Marek_Beh=C3=BAn?= , linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org Subject: [PATCH 4/4] pinctrl: armada-37xx: Remove unused macro PIN_GRP() Date: Thu, 4 Aug 2022 12:49:15 +0200 Message-Id: <20220804104915.23719-4-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220804104915.23719-1-pali@kernel.org> References: <20220804104915.23719-1-pali@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220804_034928_339718_9D61AAEA X-CRM114-Status: GOOD ( 11.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Macro PIN_GRP() is not used, remove it. Signed-off-by: Pali Rohár --- drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c index 8978e6c15905..1b48c4db2f28 100644 --- a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c +++ b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c @@ -112,16 +112,6 @@ struct armada_37xx_pinctrl { struct armada_37xx_pm_state pm; }; -#define PIN_GRP(_name, _start, _nr, _mask, _func1, _func2) \ - { \ - .name = _name, \ - .start_pin = _start, \ - .npins = _nr, \ - .reg_mask = _mask, \ - .val = {0, _mask}, \ - .funcs = {_func1, _func2} \ - } - #define PIN_GRP_GPIO_0(_name, _start, _nr) \ { \ .name = _name, \