All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] iio: accel: kionix-kx022a: Minor fixes
@ 2023-01-29 13:37 Mehdi Djait
  2023-01-29 13:37 ` [PATCH 1/2] iio: accel: kionix-kx022a: Fix the setting of regmap_config rd_table and wr_table Mehdi Djait
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Mehdi Djait @ 2023-01-29 13:37 UTC (permalink / raw)
  To: mazziesaccount, jic23; +Cc: linux-iio, Mehdi Djait

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

-- 
2.30.2


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-02-05 14:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-29 13:37 [PATCH 0/2] iio: accel: kionix-kx022a: Minor fixes Mehdi Djait
2023-01-29 13:37 ` [PATCH 1/2] iio: accel: kionix-kx022a: Fix the setting of regmap_config rd_table and wr_table Mehdi Djait
2023-01-30  7:37   ` Matti Vaittinen
2023-01-31 19:32     ` Mehdi Djait
2023-01-29 13:37 ` [PATCH 2/2] iio: accel: kionix-kx022a: Remove the unused member g_range Mehdi Djait
2023-01-30  8:17   ` Matti Vaittinen
2023-02-05 14:56     ` Jonathan Cameron
2023-01-30  8:15 ` [PATCH 0/2] iio: accel: kionix-kx022a: Minor fixes Matti Vaittinen
2023-01-31 19:48   ` Mehdi Djait
2023-02-01  5:36     ` Matti Vaittinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.