提交 6fd92d3a 编写于 作者: S Sachin Kamat 提交者: Jonathan Cameron

staging: iio: hmc5843: Remove redundant of_match_ptr helper

'hmc5843_of_match' is always compiled in. Hence the helper
macro is not needed.
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 a451521d
...@@ -634,7 +634,7 @@ static struct i2c_driver hmc5843_driver = { ...@@ -634,7 +634,7 @@ static struct i2c_driver hmc5843_driver = {
.driver = { .driver = {
.name = "hmc5843", .name = "hmc5843",
.pm = HMC5843_PM_OPS, .pm = HMC5843_PM_OPS,
.of_match_table = of_match_ptr(hmc5843_of_match), .of_match_table = hmc5843_of_match,
}, },
.id_table = hmc5843_id, .id_table = hmc5843_id,
.probe = hmc5843_probe, .probe = hmc5843_probe,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册