[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230903090051.39274-1-biju.das.jz@bp.renesas.com>
Date: Sun, 3 Sep 2023 10:00:49 +0100
From: Biju Das <biju.das.jz@...renesas.com>
To: Jonathan Cameron <jic23@...nel.org>
Cc: Biju Das <biju.das.jz@...renesas.com>,
Lars-Peter Clausen <lars@...afoo.de>,
Michael Hennerich <Michael.Hennerich@...log.com>,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
Biju Das <biju.das.au@...il.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: [PATCH v3 0/2] Match data improvements for adxl345 driver
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
Powered by blists - more mailing lists