iio: amplifiers: ada4250: move offset_uv in struct

Move offset_uv in struct ada4250_state. This keeps things logically
grouped and reduces holes in the struct.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20250611-iio-amplifiers-ada4250-simplify-data-buffer-in-init-v3-4-bf85ddea79f2@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
David Lechner 2025-06-11 16:33:04 -05:00 committed by Jonathan Cameron
parent 3712f11b4e
commit e905b3dd3a

View File

@ -59,9 +59,9 @@ struct ada4250_state {
/* Protect against concurrent accesses to the device and data content */
struct mutex lock;
int avdd_uv;
int offset_uv;
u8 bias;
u8 gain;
int offset_uv;
bool refbuf_en;
__le16 reg_val_16 __aligned(IIO_DMA_MINALIGN);
};