Commit a451521d authored by Sachin Kamat's avatar Sachin Kamat Committed by Jonathan Cameron

iio: cm36651: Remove redundant of_match_ptr helper

'cm36651_of_match' is always compiled in. Hence the
helper macro is not needed.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 5ae52859
...@@ -716,7 +716,7 @@ static const struct of_device_id cm36651_of_match[] = { ...@@ -716,7 +716,7 @@ static const struct of_device_id cm36651_of_match[] = {
static struct i2c_driver cm36651_driver = { static struct i2c_driver cm36651_driver = {
.driver = { .driver = {
.name = "cm36651", .name = "cm36651",
.of_match_table = of_match_ptr(cm36651_of_match), .of_match_table = cm36651_of_match,
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = cm36651_probe, .probe = cm36651_probe,
......
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