diff options
author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-08-14 05:55:18 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-08-16 11:59:40 +0300 |
commit | 537a6b9927083e2b7b0b3223dc77a985707d5339 (patch) | |
tree | 8f360ca71003a6bde68c6fc18f16cae9e8cc5fa1 /drivers/net/ethernet/qualcomm | |
parent | 21b566fda00f1907b41a06fb0255746639e4579f (diff) | |
download | linux-537a6b9927083e2b7b0b3223dc77a985707d5339.tar.xz |
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@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qualcomm')
-rw-r--r-- | drivers/net/ethernet/qualcomm/qca_uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, }, }; |