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

iio: adc: nau7802: Remove redundant of_match_ptr

nau7802_dt_ids is always compiled in. Hence of_match_ptr is not
needed.
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 fc21acc4
...@@ -570,7 +570,7 @@ static struct i2c_driver nau7802_driver = { ...@@ -570,7 +570,7 @@ static struct i2c_driver nau7802_driver = {
.id_table = nau7802_i2c_id, .id_table = nau7802_i2c_id,
.driver = { .driver = {
.name = "nau7802", .name = "nau7802",
.of_match_table = of_match_ptr(nau7802_dt_ids), .of_match_table = nau7802_dt_ids,
}, },
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册