Commit 537a6b99 authored by Ruan Jinjie's avatar Ruan Jinjie Committed by David S. Miller
Browse files

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: default avatarRuan Jinjie <ruanjinjie@huawei.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 21b566fd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,
	},
};