diff options
author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-08-11 05:49:44 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-08-12 00:28:04 +0300 |
commit | 656ae4f48a6f7110f58fc1bbcc7eab04ba19f802 (patch) | |
tree | 05ef35cb7c82969e2b39421493c2df585126fd2a /drivers | |
parent | 6a889dc7d8c73623e1366bb9b21de340cead9fae (diff) | |
download | linux-656ae4f48a6f7110f58fc1bbcc7eab04ba19f802.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/fieldbus/anybuss/arcx-anybus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/fieldbus/anybuss/arcx-anybus.c b/drivers/staging/fieldbus/anybuss/arcx-anybus.c index be28165b4f05..6f69758a8b27 100644 --- a/drivers/staging/fieldbus/anybuss/arcx-anybus.c +++ b/drivers/staging/fieldbus/anybuss/arcx-anybus.c @@ -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, }, }; |