Re: [PATCH] iio: light: veml3328: remove redundant cast in read_avail
From: Giorgi Tchankvetadze
Date: Mon Jul 27 2026 - 10:10:08 EST
On Mon, Jul 27, 2026 at 5:16 PM David Lechner <dlechner@xxxxxxxxxxxx> wrote:
>
> Usually, we would declare the array like:
>
> static const int veml3328_scale_vals[4][4][2] ...
>
> in which case this cast would be needed.
>
>
I intentionally kept the patch tiny and dealt with the obvious thing,
but yes, I agree this is how it should be done.