]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
pinctrl: mediatek: remove unused fields in struct mtk_eint_hw
authorSean Wang <sean.wang@mediatek.com>
Sun, 20 May 2018 17:01:51 +0000 (01:01 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 24 May 2018 07:40:10 +0000 (09:40 +0200)
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 <sean.wang@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/mtk-eint.h
drivers/pinctrl/mediatek/pinctrl-mt2701.c
drivers/pinctrl/mediatek/pinctrl-mt2712.c
drivers/pinctrl/mediatek/pinctrl-mt8127.c
drivers/pinctrl/mediatek/pinctrl-mt8135.c
drivers/pinctrl/mediatek/pinctrl-mt8173.c

index 55b4d5f47e7775bb4f076a301e22ef6d02c7d2a7..c286a9b940f2683809203700dc3588bcef8de114 100644 (file)
@@ -33,7 +33,6 @@ struct mtk_eint_regs {
 };
 
 struct mtk_eint_hw {
-       const char      *name;
        u8              port_mask;
        u8              ports;
        unsigned int    ap_num;
index db22250d5a282a2036f260df6dd22df584880f72..e91c314f3b750e694d4d674b2866cbd428c96028 100644 (file)
@@ -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,
index 6e2acef69fb881e20b0548699dda3a675bfeadf2..8398d55c01cb49b82d1097853ab3ae0646eea36d 100644 (file)
@@ -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,
index 949a235f28821d43b383d9c4253db7d89659b31a..2e4cc9257e00c2d975788ea8dd57babfc9337846 100644 (file)
@@ -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,
index 974a1f439a1122f36acc6a2f0b7d5d2567020ed2..7f5edfaffdc57e5b5213512b26d7082065c0dcd3 100644 (file)
@@ -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,
index a836cee30640813e47f6ada1d4b362b4938be0a5..c449c9a043da9847f648bca5aeccd75f418187e6 100644 (file)
@@ -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,