mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
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:
parent
3712f11b4e
commit
e905b3dd3a
|
|
@ -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);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user