Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp6765227imm; Sun, 20 May 2018 10:07:18 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqb0m+WqGJhIGTRIzpmUoMRtZBsWBXOXiTnqxKs0ZRTVxCkx+uVNUCJX8Y+uQaVOmMphCfD X-Received: by 2002:a17:902:82ca:: with SMTP id u10-v6mr17457203plz.160.1526836038737; Sun, 20 May 2018 10:07:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526836038; cv=none; d=google.com; s=arc-20160816; b=lC8RtoT+e1bjtI/brIngNUiKixcuwQQnwU91OV2GwhRZwAMcTuH94CcJaDUjo6MVVK nHolxcYAvLojOEyrWnE09I3Cc22Eci7IKv+mG6nkERMoJOpQ/BxSprWmFIu2BYbAetqN LHAfoDGunExoExELWGKBSnXg0Ez92gzZp+AIhHhJHy/dqwRchsvtdIhpJa2sG06uOX6t hIWilBWQ7JkudBTP9qNNyHHVoKETm1qVCfmVbJ3B7EtPX/2YEHns9iHgI+oQrzKf0Hko sIj/nJZTF7IUb5b1NZmy1sAeKCvznqmBkHXGDiozrvhohbs3WOBsswjEFJyhXkk5iOi/ D00Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=MwKBDtDOLbBfeoob9XWl2ejB7U+4gRHeauQL52kLG8w=; b=aZJ1OkLTyEfYSqYyzgsFU4zITrx4+bAw2GiqcSH2gGFN0DlUk5AzfoHyeIoaioJTkk wPEzvBKgAdhp3w+Gqu0tQYUNh7Zzkx7cpu3iaoWayjWfKi5z9eaJkdExlTXZT9Jlo392 Gk/Xj026dXjVaN2xxaSDrhVYqCkWn2pAa2LmdqojFrqxlQBb4c7IMvp+10mkc2DNXvyf rGQY7q6pnm87KcIokLYyPL57QWfm6/rW/hGWHZ43XqpUrWEqa78mZ2NLGUShCCxdMt4C 5lX7GYcJQ1TR8tICzv4lPtsXhp4w9FlSTF/2T7SitDV+c5HJoxlkSBTX3Poo+XIjXflY BMdA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id be11-v6si12651258plb.322.2018.05.20.10.07.04; Sun, 20 May 2018 10:07:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752616AbeETRCW (ORCPT + 99 others); Sun, 20 May 2018 13:02:22 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:4514 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751310AbeETRCT (ORCPT ); Sun, 20 May 2018 13:02:19 -0400 X-UUID: e8e45c12ab194164a6c9350683e64cbe-20180521 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 185523509; Mon, 21 May 2018 01:02:13 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Mon, 21 May 2018 01:02:11 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Mon, 21 May 2018 01:02:11 +0800 From: To: , , , , , CC: , , , Sean Wang Subject: [PATCH v1 5/7] pinctrl: mediatek: remove unused fields in struct mtk_eint_hw Date: Mon, 21 May 2018 01:01:51 +0800 Message-ID: <72462fb7aab16463a42066998ac3b4bf35ada416.1526835466.git.sean.wang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sean Wang The .name field has been not being used in existent code logic, so it's better that we remove them all. Signed-off-by: Sean Wang --- drivers/pinctrl/mediatek/mtk-eint.h | 1 - drivers/pinctrl/mediatek/pinctrl-mt2701.c | 1 - drivers/pinctrl/mediatek/pinctrl-mt2712.c | 1 - drivers/pinctrl/mediatek/pinctrl-mt8127.c | 1 - drivers/pinctrl/mediatek/pinctrl-mt8135.c | 1 - drivers/pinctrl/mediatek/pinctrl-mt8173.c | 1 - 6 files changed, 6 deletions(-) diff --git a/drivers/pinctrl/mediatek/mtk-eint.h b/drivers/pinctrl/mediatek/mtk-eint.h index 55b4d5f..c286a9b 100644 --- a/drivers/pinctrl/mediatek/mtk-eint.h +++ b/drivers/pinctrl/mediatek/mtk-eint.h @@ -33,7 +33,6 @@ struct mtk_eint_regs { }; struct mtk_eint_hw { - const char *name; u8 port_mask; u8 ports; unsigned int ap_num; diff --git a/drivers/pinctrl/mediatek/pinctrl-mt2701.c b/drivers/pinctrl/mediatek/pinctrl-mt2701.c index db22250..e91c314 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mt2701.c +++ b/drivers/pinctrl/mediatek/pinctrl-mt2701.c @@ -532,7 +532,6 @@ static const struct mtk_pinctrl_devdata mt2701_pinctrl_data = { .port_mask = 0x1f, .port_align = 4, .eint_hw = { - .name = "mt2701_eint", .port_mask = 6, .ports = 6, .ap_num = 169, diff --git a/drivers/pinctrl/mediatek/pinctrl-mt2712.c b/drivers/pinctrl/mediatek/pinctrl-mt2712.c index 6e2acef..8398d55 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mt2712.c +++ b/drivers/pinctrl/mediatek/pinctrl-mt2712.c @@ -577,7 +577,6 @@ static const struct mtk_pinctrl_devdata mt2712_pinctrl_data = { .port_mask = 0xf, .port_align = 4, .eint_hw = { - .name = "mt2712_eint", .port_mask = 0xf, .ports = 8, .ap_num = 229, diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8127.c b/drivers/pinctrl/mediatek/pinctrl-mt8127.c index 949a235..2e4cc92 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mt8127.c +++ b/drivers/pinctrl/mediatek/pinctrl-mt8127.c @@ -301,7 +301,6 @@ static const struct mtk_pinctrl_devdata mt8127_pinctrl_data = { .port_mask = 0xf, .port_align = 4, .eint_hw = { - .name = "mt8127_eint", .port_mask = 7, .ports = 6, .ap_num = 143, diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8135.c b/drivers/pinctrl/mediatek/pinctrl-mt8135.c index 974a1f43..7f5edfa 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mt8135.c +++ b/drivers/pinctrl/mediatek/pinctrl-mt8135.c @@ -314,7 +314,6 @@ static const struct mtk_pinctrl_devdata mt8135_pinctrl_data = { .port_mask = 0xf, .port_align = 4, .eint_hw = { - .name = "mt8135_eint", .port_mask = 7, .ports = 6, .ap_num = 192, diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8173.c b/drivers/pinctrl/mediatek/pinctrl-mt8173.c index a836cee3..c449c9a 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mt8173.c +++ b/drivers/pinctrl/mediatek/pinctrl-mt8173.c @@ -341,7 +341,6 @@ static const struct mtk_pinctrl_devdata mt8173_pinctrl_data = { .port_mask = 0xf, .port_align = 4, .eint_hw = { - .name = "mt8173_eint", .port_mask = 7, .ports = 6, .ap_num = 224, -- 2.7.4