OSDN Git Service

iio: adc: ad7923: Add of_device_id table
authorDaniel Junho <djunho@gmail.com>
Tue, 17 Dec 2019 11:11:57 +0000 (08:11 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 29 Dec 2019 15:20:03 +0000 (15:20 +0000)
commit233e7de42fcc3ba6abdc09a58a1be5577a09aba9
tree8eab555dcbe87e0d042d98cb042f596e38614701
parentc87de1ba35e4e4225f3e10b09d22c6490e6cd848
iio: adc: ad7923: Add of_device_id table

Accomplish device tree compatibility to driver AD7923
by adding of_device_id table and making a subsequent call to
MODULE_DEVICE_TABLE.

Signed-off-by: Daniel Junho <djunho@gmail.com>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7923.c