of: unittest: Remove redundant of_match_ptr()
authorRuan Jinjie <ruanjinjie@huawei.com>
Tue, 8 Aug 2023 09:40:43 +0000 (17:40 +0800)
committerRob Herring <robh@kernel.org>
Thu, 10 Aug 2023 22:16:01 +0000 (16:16 -0600)
commit2b9583244aad15020af376bce7113a8978e0bd5c
treeadfd0384ee8d3de2b37084b5602c5e9615430e85
parent66a4210bc82e024e6de0f94298ad9230984a5924
of: unittest: 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/20230808094043.2732158-1-ruanjinjie@huawei.com
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/unittest.c