diff options
| author | Biju Das <[email protected]> | 2023-09-03 10:00:51 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2023-09-12 10:42:04 +0100 |
| commit | dcc3ac1381eff05e4ab546a42798dd6837b295a7 (patch) | |
| tree | 5ae9f4cb9a7e770f0ae45f40b6ad99aeeb80e838 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 7d0ba6dbf8356d20b69cfd042800d5d51ac00bd7 (diff) | |
iio: accel: adxl345: Simplify adxl345_read_raw()
Simplify adxl345_read_raw() by adding uscale variable to
struct adxl345_chip_info. Also convert variables adxl3{4,7}5_uscale to
macros and use it in OF/ACPI/ID match table.
Drop enum adxl345_device_type as there is no user.
Signed-off-by: Biju Das <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions