mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-27 22:51:31 +00:00
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>
This commit is contained in:
parent
21b566fda0
commit
537a6b9927
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ static struct serdev_device_driver qca_uart_driver = {
|
||||||
.remove = qca_uart_remove,
|
.remove = qca_uart_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = QCAUART_DRV_NAME,
|
.name = QCAUART_DRV_NAME,
|
||||||
.of_match_table = of_match_ptr(qca_uart_of_match),
|
.of_match_table = qca_uart_of_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue