Re: [PATCH v3 1/8] iio: temperature: ltc2983: Fix macro parenthesization and rename
From: Joshua Crofts
Date: Fri May 22 2026 - 05:18:12 EST
On Thu, 21 May 2026 at 19:19, Liviu Stan <liviu.stan@xxxxxxxxxx> wrote:
>
> Wrap the 'chan' parameter in LTC2983_CHAN_START_ADDR() and
> LTC2983_CHAN_RES_ADDR() with parentheses to prevent potential
> macro argument expansion issues. Also rename LTC2983_CHAN_START_ADDR
> to LTC2983_CHAN_ASSIGN_ADDR and LTC2983_CHAN_RES_ADDR to
> LTC2983_RESULT_ADDR, to better reflect the datasheet names and avoid
> them being confused as related.
>
> Signed-off-by: Liviu Stan <liviu.stan@xxxxxxxxxx>
> ---
Reviewed-by: Joshua Crofts <joshua.crofts1@xxxxxxxxx>
--
Kind regards
CJD