diff options
| author | 2023-09-03 10:00:51 +0100 | |
|---|---|---|
| committer | 2023-09-12 10:42:04 +0100 | |
| commit | dcc3ac1381eff05e4ab546a42798dd6837b295a7 (patch) | |
| tree | 5ae9f4cb9a7e770f0ae45f40b6ad99aeeb80e838 /scripts/Makefile.thinlto | |
| parent | iio: accel: adxl345: Convert enum->pointer for data in match data table (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 <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20230903090051.39274-3-biju.das.jz@bp.renesas.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
