summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/ep93xx_adc.c
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2017-09-09 20:32:41 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-09-24 13:34:55 +0200
commit35ed9fbfd07802c8d45e7fe2bfc484803f9f3549 (patch)
tree7211b95d70438828fb7809c180051d8f3fed1e16 /drivers/iio/adc/ep93xx_adc.c
parentiio: adc: mcp320x: Speed up readout of single-channel ADCs (diff)
downloadlinux-35ed9fbfd07802c8d45e7fe2bfc484803f9f3549.tar.xz
linux-35ed9fbfd07802c8d45e7fe2bfc484803f9f3549.zip
iio: adc: mcp320x: Drop unnecessary of_device_id attributes
The driver sets a .data pointer for each .compatible string but never calls of_device_get_match_data(). Instead, ADC properties are looked up with spi_get_device_id(). The .data pointer is therefore unnecessary, so drop it. Signed-off-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/ep93xx_adc.c')
0 files changed, 0 insertions, 0 deletions