projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21b566f
)
net: qualcomm: Remove redundant of_match_ptr()
author
Ruan Jinjie
<ruanjinjie@huawei.com>
Mon, 14 Aug 2023 02:55:18 +0000
(10:55 +0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 16 Aug 2023 08:59:40 +0000
(09:59 +0100)
The driver depends on CONFIG_OF, it is not necessary to use
of_match_ptr() here.
Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/qca_uart.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/qualcomm/qca_uart.c
b/drivers/net/ethernet/qualcomm/qca_uart.c
index
ace99c6
..
9adec91
100644
(file)
--- 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
,
},
};