Skip to content

iio: accel: kionix-kx022a: Minor fixes

Mehdi Djait linux-iio 1 version Applied

Status from this message: Applied

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2iio: accel: kionix-kx022a: Fix the setting of regmap_config rd_table and wr_tabledrivers/iio/accel/kionix-kx022a.c+2 -22 replies
2/2iio: accel: kionix-kx022a: Remove the unused member g_rangedrivers/iio/accel/kionix-kx022a.c+0 -12 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMatti Vaittinen
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] iio: accel: kionix-kx022a: Minor fixes

Two minor fixes. Swap the setting of rd_table and wr_table and remove the g_range member.

Matti, I thought about defining an unsigned int array for the 4 possible g ranges, setting a g_range initial value in the probe function and updating it in the write_raw callback (case IIO_CHAN_INFO_SCALE) but does it make sense to keep track of the g_range value ?

Mehdi Djait (2):
iio: accel: kionix-kx022a: Fix the setting of regmap_config rd_table
and wr_table
iio: accel: kionix-kx022a: Remove the unused member g_range

 drivers/iio/accel/kionix-kx022a.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Signature · 1 line
2.30.2