Skip to content

Commit ca071af

Browse files
moore-broslinusw
authored andcommitted
pinctrl: mediatek: remove unused fields in struct mtk_eint_hw
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 <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent e6612a6 commit ca071af

File tree

6 files changed

+0
-6
lines changed

6 files changed

+0
-6
lines changed

drivers/pinctrl/mediatek/mtk-eint.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ struct mtk_eint_regs {
3333
};
3434

3535
struct mtk_eint_hw {
36-
const char *name;
3736
u8 port_mask;
3837
u8 ports;
3938
unsigned int ap_num;

drivers/pinctrl/mediatek/pinctrl-mt2701.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,6 @@ static const struct mtk_pinctrl_devdata mt2701_pinctrl_data = {
532532
.port_mask = 0x1f,
533533
.port_align = 4,
534534
.eint_hw = {
535-
.name = "mt2701_eint",
536535
.port_mask = 6,
537536
.ports = 6,
538537
.ap_num = 169,

drivers/pinctrl/mediatek/pinctrl-mt2712.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,6 @@ static const struct mtk_pinctrl_devdata mt2712_pinctrl_data = {
577577
.port_mask = 0xf,
578578
.port_align = 4,
579579
.eint_hw = {
580-
.name = "mt2712_eint",
581580
.port_mask = 0xf,
582581
.ports = 8,
583582
.ap_num = 229,

drivers/pinctrl/mediatek/pinctrl-mt8127.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,6 @@ static const struct mtk_pinctrl_devdata mt8127_pinctrl_data = {
301301
.port_mask = 0xf,
302302
.port_align = 4,
303303
.eint_hw = {
304-
.name = "mt8127_eint",
305304
.port_mask = 7,
306305
.ports = 6,
307306
.ap_num = 143,

drivers/pinctrl/mediatek/pinctrl-mt8135.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,6 @@ static const struct mtk_pinctrl_devdata mt8135_pinctrl_data = {
314314
.port_mask = 0xf,
315315
.port_align = 4,
316316
.eint_hw = {
317-
.name = "mt8135_eint",
318317
.port_mask = 7,
319318
.ports = 6,
320319
.ap_num = 192,

drivers/pinctrl/mediatek/pinctrl-mt8173.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,6 @@ static const struct mtk_pinctrl_devdata mt8173_pinctrl_data = {
341341
.port_mask = 0xf,
342342
.port_align = 4,
343343
.eint_hw = {
344-
.name = "mt8173_eint",
345344
.port_mask = 7,
346345
.ports = 6,
347346
.ap_num = 224,

0 commit comments

Comments
 (0)