Re: [PATCH v1 1/1] gpio: pcf857x: Use le16_to_cpu() and cpu_to_le16() in IO accessors
From: Andy Shevchenko
Date: Thu Jul 16 2026 - 13:43:50 EST
On Thu, Jul 16, 2026 at 07:13:39AM -0700, Bartosz Golaszewski wrote:
> On Wed, 15 Jul 2026 18:39:44 +0200, Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxxxxxxxx> said:
> > 16-bit expander data is an __le16, use le16_to_cpu() to read it.
> > In the similar way use cpu_to_le16() to write __le16 value.
> Fixes: and Cc: stable?
It just changes the open coded approach with the provided APIs, no fix of
anything other than source code.
--
With Best Regards,
Andy Shevchenko