Re: [PATCH v2 4/4] staging: iio: adt7316: convert magic numbers to BIT_U32() or GENMASK_U32()

From: Jonathan Cameron

Date: Sat Mar 07 2026 - 06:33:47 EST


On Thu, 05 Mar 2026 23:17:01 -0800
Michael Harris <michaelharriscode@xxxxxxxxx> wrote:

> Improve readability by converting raw hex macros to use BIT_U32() or
> GENMASK_U32() instead.
>
> Signed-off-by: Michael Harris <michaelharriscode@xxxxxxxxx>
> ---

Ah. I should have read on. Fine to have the patch doing the rest separate.
Maybe a forwards reference from the earlier patch description might make
it more obvious that you've just delayed them.


Same thing on using GENMASK_U8() applies here.

Thanks,

Jonathan