Re: [PATCH v3 0/2] Match data improvements for adxl345 driver

From: Jonathan Cameron
Date: Sun Sep 03 2023 - 08:11:40 EST


On Sun, 3 Sep 2023 10:00:49 +0100
Biju Das <biju.das.jz@xxxxxxxxxxxxxx> wrote:

> 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(-)
>

Series applied to the togreg branch of iio.git and pushed out
as testing for 0-day to poke at it.

Thanks,

Jonathan