diff options
author | Lukas Wunner <lukas@wunner.de> | 2017-09-09 20:32:41 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-09-24 12:34:55 +0100 |
commit | 35ed9fbfd07802c8d45e7fe2bfc484803f9f3549 (patch) | |
tree | 7211b95d70438828fb7809c180051d8f3fed1e16 /drivers/iio/trigger/stm32-timer-trigger.c | |
parent | ea9103186d0508cfbd665a04d2773514e336fa72 (diff) | |
download | linux-35ed9fbfd07802c8d45e7fe2bfc484803f9f3549.tar.gz linux-35ed9fbfd07802c8d45e7fe2bfc484803f9f3549.tar.bz2 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/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions