regulator: mcp16502: Remove redundant of_match_ptr() macros
authorChen Jiahao <chenjiahao16@huawei.com>
Wed, 9 Aug 2023 10:04:25 +0000 (10:04 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 9 Aug 2023 11:52:43 +0000 (12:52 +0100)
commit3988795eb08c4239e865c4c21a3d5fd6fb2bd055
tree49fd1c2106248f9bab11b4e2527b47f935b4d336
parent656ed7467623674e6cc794a5b2ef79e8b8b81c3f
regulator: mcp16502: Remove redundant of_match_ptr() macros

Since the driver mcp16502 depends on CONFIG_OF,
it makes no difference to wrap of_match_ptr() here.

Remove of_match_ptr() macros to clean it up.

Signed-off-by: Chen Jiahao <chenjiahao16@huawei.com>
Link: https://lore.kernel.org/r/20230809100428.2669817-5-chenjiahao16@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/mcp16502.c