diff options
| author | Slawomir Stepien <sst@poczta.fm> | 2018-11-16 12:47:21 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-11-16 21:32:35 +0300 |
| commit | 853bfaf43555e6352e4f9d7856603f6443292d05 (patch) | |
| tree | e5f8b8c7e1923f6f020a45a7202fb101523681f0 /include/linux/platform_data | |
| parent | cc9c58ef6e0623f92edc2988c8a8ebfb63b40cea (diff) | |
| download | linux-853bfaf43555e6352e4f9d7856603f6443292d05.tar.xz | |
iio: potentiometer: mcp4131: use of_device_get_match_data()
Try to get the device's data using OF API. In case of failure, fallback
to the spi_get_device_id() method.
Signed-off-by: Slawomir Stepien <sst@poczta.fm>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
