iio: adc: max1027: Set struct spi_driver .of_match_table
authorJavier Martinez Canillas <javier@osg.samsung.com>
Thu, 20 Aug 2015 07:07:24 +0000 (09:07 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 22 Aug 2015 18:00:02 +0000 (19:00 +0100)
commitd1b895fedae30e2e948dbae4d209509c44564074
tree341f8ce5ba6c21718cff3f0215fedce776b3ff4c
parent45ef12b6ad6ade7bb8c89db3d3101e99d9552f3a
iio: adc: max1027: Set struct spi_driver .of_match_table

The driver has an OF id table but the .of_match_table is not set so
the SPI core can't do an OF style match and the table was unused.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/max1027.c