Re: [PATCH v6 0/3] iio: frequency: ad9523: fix checkpatch warnings
From: Jonathan Cameron
Date: Sat Feb 28 2026 - 07:16:13 EST
On Fri, 27 Feb 2026 04:40:54 +0530
Bhargav Joshi <rougueprince47@xxxxxxxxx> wrote:
> These patches address several checkpatch warnings in the ad9523 driver.
>
> Patch 1: Updated the macros to properly use their argument x.
> Patch 2: Fixed the multi-line pointer dereferences.
> Patch 3: Updated symbolic permissions to octal (0444/0200).
>
Series applied to the testing branch of iio.git. I'll push that
out as togreg later in the week and then it will be picked up by
linux-next.
Thanks,
Jonathan
> Changes in v6:
> - Patch 1: Fixed grammar and shortened the long first line.
> - Patch 2: No changes.
> - Patch 3: No changes. Resending because something went wrong with v5.
>
> Changes in v5:
> - Reflowed all commit messages to properly wrap near 72 characters as
> requested.
> - Collected Reviewed-by tags for patches 1 and 3.
>
> Changes in v4:
> - Used full name for SoB.
>
> Changes in v3:
> - Patch 1: updated macros to use '(x)' instead of 'x'.
> - Patch 2: collected reviewed-by (no code changes).
> - Patch 3: fixed vertical spacing and broken indentation.
>
>
> bhargav (3):
> iio: frequency: ad9523: fix implicit variable macros
> iio: frequency: ad9523: fix multi-line pdata dereferences
> iio: frequency: ad9523: use octal device permissions
>
> drivers/iio/frequency/ad9523.c | 88 +++++++++++++---------------------
> 1 file changed, 33 insertions(+), 55 deletions(-)
>