diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2021-07-28 21:17:57 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-07-31 17:15:28 +0300 |
commit | 7a3605bef87801bc7c86e23c608bd2d096433966 (patch) | |
tree | 894aa59834b5538be5732704414157d64cb359f1 /drivers/iio/orientation | |
parent | 9491b9177fd0015f4dd118e94328a3a768f4bea3 (diff) | |
download | linux-7a3605bef87801bc7c86e23c608bd2d096433966.tar.xz |
iio: sx9310: Support ACPI property
Use device_property_read_... to support both device tree and ACPI
bindings.
Simplify the logic for reading "combined-sensors" array, as we assume
it has been vetted at firmware build time.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20210728181757.187627-1-gwendal@chromium.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/orientation')
0 files changed, 0 insertions, 0 deletions