diff options
author | Slawomir Stepien <sst@poczta.fm> | 2018-11-16 10:47:21 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-11-16 18:32:35 +0000 |
commit | 853bfaf43555e6352e4f9d7856603f6443292d05 (patch) | |
tree | e5f8b8c7e1923f6f020a45a7202fb101523681f0 /drivers/uwb/ie-rcv.c | |
parent | cc9c58ef6e0623f92edc2988c8a8ebfb63b40cea (diff) | |
download | lwn-853bfaf43555e6352e4f9d7856603f6443292d05.tar.gz lwn-853bfaf43555e6352e4f9d7856603f6443292d05.zip |
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 'drivers/uwb/ie-rcv.c')
0 files changed, 0 insertions, 0 deletions