lkml.org 
[lkml]   [2023]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/2] Match data improvements for adxl345 driver
Date
This patch series aims to add match data improvements for adxl345 driver.

This patch series is only compile tested.

v2->v3:
* Replaced struct adxl3x5_chip_info->struct adxl345_chip_info
* Simplified adxl345_read_raw()
* Dropped enum adxl345_device_type as there is no user
v1->v2:
* Replaced EINVAL->ENODEV for invalid chip type.
* Kept leading commas for adxl345_*_info and adxl375_*_info.
* Restored switch statement in adxl345_core_probe()

Biju Das (2):
iio: accel: adxl345: Convert enum->pointer for data in match data
table
iio: accel: adxl345: Simplify adxl345_read_raw()

drivers/iio/accel/adxl345.h | 21 ++++++++++++--
drivers/iio/accel/adxl345_core.c | 47 ++++----------------------------
drivers/iio/accel/adxl345_i2c.c | 20 ++++++++++----
drivers/iio/accel/adxl345_spi.c | 20 ++++++++++----
4 files changed, 54 insertions(+), 54 deletions(-)

--
2.25.1

\
 
 \ /
  Last update: 2023-09-03 11:02    [W:0.756 / U:0.796 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site