iio: adc: mcp320x: Drop unnecessary of_device_id attributes
authorLukas Wunner <lukas@wunner.de>
Sat, 9 Sep 2017 18:32:41 +0000 (20:32 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 24 Sep 2017 11:34:55 +0000 (12:34 +0100)
commit35ed9fbfd07802c8d45e7fe2bfc484803f9f3549
tree7211b95d70438828fb7809c180051d8f3fed1e16
parentea9103186d0508cfbd665a04d2773514e336fa72
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>
drivers/iio/adc/mcp320x.c