Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Marcus Folkesson and committed by
Jonathan Cameron
91d05d76 0833627f

+1
+1
drivers/iio/dac/ti-dac5571.c
··· 421 421 static struct i2c_driver dac5571_driver = { 422 422 .driver = { 423 423 .name = "ti-dac5571", 424 + .of_match_table = of_match_ptr(dac5571_of_id), 424 425 }, 425 426 .probe = dac5571_probe, 426 427 .remove = dac5571_remove,