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