commit | 35ed9fbfd07802c8d45e7fe2bfc484803f9f3549 | [log] [tgz] |
---|---|---|
author | Lukas Wunner <lukas@wunner.de> | Sat Sep 09 20:32:41 2017 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Sep 24 12:34:55 2017 +0100 |
tree | 7211b95d70438828fb7809c180051d8f3fed1e16 | |
parent | ea9103186d0508cfbd665a04d2773514e336fa72 [diff] |
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>