Skip to content

Commit

Permalink
pinctrl: mediatek: remove unused fields in struct mtk_eint_hw
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sean Wang authored and Linus Walleij committed May 24, 2018
1 parent e6612a6 commit ca071af
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion drivers/pinctrl/mediatek/mtk-eint.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ struct mtk_eint_regs {
};

struct mtk_eint_hw {
const char *name;
u8 port_mask;
u8 ports;
unsigned int ap_num;
Expand Down
1 change: 0 additions & 1 deletion drivers/pinctrl/mediatek/pinctrl-mt2701.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion drivers/pinctrl/mediatek/pinctrl-mt2712.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion drivers/pinctrl/mediatek/pinctrl-mt8127.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion drivers/pinctrl/mediatek/pinctrl-mt8135.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion drivers/pinctrl/mediatek/pinctrl-mt8173.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ca071af

Please sign in to comment.