提交 ca071afe 编写于 作者: S Sean Wang 提交者: Linus Walleij

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: NSean Wang <sean.wang@mediatek.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 e6612a69
......@@ -33,7 +33,6 @@ struct mtk_eint_regs {
};
struct mtk_eint_hw {
const char *name;
u8 port_mask;
u8 ports;
unsigned int ap_num;
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册