mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
This commit is contained in:
parent
0833627fc3
commit
91d05d7639
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue