Commit f410cfe8 authored by Chen Jiahao's avatar Chen Jiahao Committed by Mark Brown

regulator: lp87565: Remove redundant of_match_ptr() macros

Since the driver lp87565-regulator 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: default avatarChen Jiahao <chenjiahao16@huawei.com>
Link: https://lore.kernel.org/r/20230809100428.2669817-3-chenjiahao16@huawei.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3a6d93eb
...@@ -29,8 +29,8 @@ enum LP87565_regulator_id { ...@@ -29,8 +29,8 @@ enum LP87565_regulator_id {
.name = _name, \ .name = _name, \
.supply_name = _of "-in", \ .supply_name = _of "-in", \
.id = _id, \ .id = _id, \
.of_match = of_match_ptr(_of), \ .of_match = _of, \
.regulators_node = of_match_ptr("regulators"),\ .regulators_node = "regulators", \
.ops = &_ops, \ .ops = &_ops, \
.n_voltages = _n, \ .n_voltages = _n, \
.type = REGULATOR_VOLTAGE, \ .type = REGULATOR_VOLTAGE, \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment