mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
staging: fieldbus: arcx-anybus: 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> Link: https://lore.kernel.org/r/20230811024945.2256437-2-ruanjinjie@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6a889dc7d8
commit
656ae4f48a
@ -343,7 +343,7 @@ static struct platform_driver controller_driver = {
|
||||
.remove_new = controller_remove,
|
||||
.driver = {
|
||||
.name = "arcx-anybus-controller",
|
||||
.of_match_table = of_match_ptr(controller_of_match),
|
||||
.of_match_table = controller_of_match,
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user