Re: [PATCH] iio: humidity: hts221: Fix checkpatch symbolic perms warning

Adi <[email protected]>
Newsgroups org.kernel.vger.linux-iio,dev.linux.lists.linux-kernel-mentees,org.kernel.vger.linux-kernel
Message-ID <CABZ6vuAL=FMMQp5UTJQJMJi+7nnF+OOYtdRYbbZWveSjninsrg@mail.gmail.com>
On Mon, Aug 3, 2026 at 1:14 AM Jonathan Cameron <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.