diff options
author | Quentin Schulz <quentin.schulz@free-electrons.com> | 2018-01-15 13:33:37 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-01-30 21:33:24 +0300 |
commit | 359163d786e2b05f3e3bd2db7f1629d7150d6dd2 (patch) | |
tree | 80f9fa231280054be792dd53c030915132051860 /include | |
parent | 22042a6e694db118cdb27e8a9ead21df046458df (diff) | |
download | linux-359163d786e2b05f3e3bd2db7f1629d7150d6dd2.tar.xz |
iio: adc: axp20x_adc: make it possible to probe from DT
To prepare for a future patch that will add a DT node for the ADC, make
axp20x_adc able to probe from DT and get the per-variant data from
of_device_id.data since platform_device_id.driver_data won't be set when
probing by DT.
Leave the ability to probe via platform for driver compatibility with
old DTs.
Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions