Re: [PATCH] iio: humidity: hts221: Fix checkpatch symbolic perms warning
From: Adi
Date: Thu Aug 06 2026 - 17:43:57 EST
On Mon, Aug 3, 2026 at 1:14 AM Jonathan Cameron <jic23@xxxxxxxxxx> wrote:
> Hi Adi,
>
> Rather than doing this minor change please take on making these
> report via the read_avail() callback.
>
> This is a reasonably old driver, so some of that infrastructure may
> not have existed back then. Moving to the callback makes the
> available info accessible to in kernel consumers and ensures correct
> formatting etc.
>
> To make that sort of change you'll need to work out how to test it.
> Probably just commenting out accesses to the device and reading only
> the files you are affecting will be enough here.
>
> Thanks,
>
> Jonathan
Hi Jonathan,
Thank you for the suggestion and feedback. I will create a new patch series
with a cover letter for this hts221 driver.
Regards,
Adi Nata