OSDN Git Service

regulator: pfuze100-regulator: Remove redundant of_match_ptr() macro
authorChen Jiahao <chenjiahao16@huawei.com>
Wed, 9 Aug 2023 10:04:27 +0000 (10:04 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 9 Aug 2023 11:52:45 +0000 (12:52 +0100)
commit9e8925eb7fd6e5d93d9dfa9ca4628e897f0db8f1
tree922bf0eb5ab720b3421df3094d783256e3938ec4
parentc329adf3026034c84ddd61c0b19db53d40510ae7
regulator: pfuze100-regulator: Remove redundant of_match_ptr() macro

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

Remove the of_match_ptr() macro to clean it up.

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