[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230810081102.2981505-5-ruanjinjie@huawei.com>
Date: Thu, 10 Aug 2023 16:11:01 +0800
From: Ruan Jinjie <ruanjinjie@...wei.com>
To: <linus.walleij@...aro.org>, <alsi@...g-olufsen.dk>, <andrew@...n.ch>,
<f.fainelli@...il.com>, <olteanv@...il.com>, <davem@...emloft.net>,
<edumazet@...gle.com>, <kuba@...nel.org>, <pabeni@...hat.com>,
<clement.leger@...tlin.com>, <ulli.kroll@...glemail.com>, <kvalo@...nel.org>,
<bhupesh.sharma@...aro.org>, <robh@...nel.org>, <elder@...aro.org>,
<wei.fang@....com>, <nicolas.ferre@...rochip.com>,
<simon.horman@...igine.com>, <romieu@...zoreil.com>,
<dmitry.torokhov@...il.com>, <netdev@...r.kernel.org>,
<linux-renesas-soc@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>,
<linux-wireless@...r.kernel.org>
CC: <ruanjinjie@...wei.com>
Subject: [patch net-next 4/5] net: qualcomm: Remove redundant of_match_ptr()
The driver depends on CONFIG_OF, it is not necessary to use
of_match_ptr() here.
Signed-off-by: Ruan Jinjie <ruanjinjie@...wei.com>
---
drivers/net/ethernet/qualcomm/qca_uart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/qualcomm/qca_uart.c b/drivers/net/ethernet/qualcomm/qca_uart.c
index ace99c62d03a..9adec91f35e9 100644
--- a/drivers/net/ethernet/qualcomm/qca_uart.c
+++ b/drivers/net/ethernet/qualcomm/qca_uart.c
@@ -403,7 +403,7 @@ static struct serdev_device_driver qca_uart_driver = {
.remove = qca_uart_remove,
.driver = {
.name = QCAUART_DRV_NAME,
- .of_match_table = of_match_ptr(qca_uart_of_match),
+ .of_match_table = qca_uart_of_match,
},
};
--
2.34.1
Powered by blists - more mailing lists