diff options
author | Marcus Folkesson <marcus.folkesson@gmail.com> | 2018-08-24 22:24:59 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-08-25 09:58:52 +0100 |
commit | 91d05d7639f388bbed90076299867e85e983f298 (patch) | |
tree | 83955e2fcc2e118ae9255feca4506922640871e3 /drivers/iio | |
parent | 0833627fc3f757a0dca11e2a9c46c96335a900ee (diff) |
iio: dac: ti-dac5571: provide of_match_table to driver
Use the created list of of_device_id's as a match table.
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio')
-rw-r--r-- | drivers/iio/dac/ti-dac5571.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/dac/ti-dac5571.c b/drivers/iio/dac/ti-dac5571.c index e39d1e901353..f6dcd8bce2b0 100644 --- a/drivers/iio/dac/ti-dac5571.c +++ b/drivers/iio/dac/ti-dac5571.c @@ -421,6 +421,7 @@ MODULE_DEVICE_TABLE(i2c, dac5571_id); static struct i2c_driver dac5571_driver = { .driver = { .name = "ti-dac5571", + .of_match_table = of_match_ptr(dac5571_of_id), }, .probe = dac5571_probe, .remove = dac5571_remove, |