aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/trigger/stm32-timer-trigger.c
diff options
context:
space:
mode:
authorLukas Wunner <[email protected]>2017-09-09 18:32:41 +0000
committerJonathan Cameron <[email protected]>2017-09-24 11:34:55 +0000
commit35ed9fbfd07802c8d45e7fe2bfc484803f9f3549 (patch)
tree7211b95d70438828fb7809c180051d8f3fed1e16 /drivers/iio/trigger/stm32-timer-trigger.c
parentiio: adc: mcp320x: Speed up readout of single-channel ADCs (diff)
downloadkernel-35ed9fbfd07802c8d45e7fe2bfc484803f9f3549.tar.gz
kernel-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 <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions