diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2019-06-06 13:34:09 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-06-17 21:06:43 +0100 |
commit | cf344bd67e569b02a6d323a43405ad425396d6ea (patch) | |
tree | 908049890c8702ff90a4706bd85c7290c10d642a /drivers/iio/industrialio-core.c | |
parent | iio: light: bh1780: simplify getting the adapter of a client (diff) | |
download | linux-dev-cf344bd67e569b02a6d323a43405ad425396d6ea.tar.xz linux-dev-cf344bd67e569b02a6d323a43405ad425396d6ea.zip |
staging: iio: ad2s1210: Remove platform data NULL check in probe
The driver only needs to access GPIOs via GPIOLIB. And SPI can be
configured via device-tree or ACPI.
The platform data is a remnant from another time, and should not cause the
driver to error out during probing if it is NULL.
Also, it's not used.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/industrialio-core.c')
0 files changed, 0 insertions, 0 deletions