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

regulator: mpq7920: Remove redundant of_match_ptr() macro

Since the driver mpq7920 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: default avatarChen Jiahao <chenjiahao16@huawei.com>
Link: https://lore.kernel.org/r/20230809100428.2669817-6-chenjiahao16@huawei.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3988795e
...@@ -318,7 +318,7 @@ static struct i2c_driver mpq7920_regulator_driver = { ...@@ -318,7 +318,7 @@ static struct i2c_driver mpq7920_regulator_driver = {
.driver = { .driver = {
.name = "mpq7920", .name = "mpq7920",
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(mpq7920_of_match), .of_match_table = mpq7920_of_match,
}, },
.probe = mpq7920_i2c_probe, .probe = mpq7920_i2c_probe,
.id_table = mpq7920_id, .id_table = mpq7920_id,
......
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