]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iio: adc: mcp320x: Set struct spi_driver .of_match_table
authorJavier Martinez Canillas <javier@osg.samsung.com>
Thu, 20 Aug 2015 07:07:26 +0000 (09:07 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 22 Aug 2015 18:09:02 +0000 (19:09 +0100)
commitab6ff6c6ca1b4739b2af07501bc333b85d7381d8
treefde041cb9991d708f5d34597337bc4d008bad760
parented199a11bdfd2957e46984b77a1e1f0927dc9fa0
iio: adc: mcp320x: 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>
Acked-by: Michael Welling <mwelling@ieee.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/mcp320x.c