drivers/gpio/gpio-xilinx.c | 102 ++++++++++++++----------------------- 1 file changed, 37 insertions(+), 65 deletions(-)
Relatively recently bitmap APIs gain a few new calls which may help to convert the GPIO Xilinx driver to use them and become shorter and nicer. This mini-series does exactly that. Changelog v2: - fixed a regression in patch 2 Andy Shevchenko (2): gpio: xilinx: Use better bitmap APIs where appropriate gpio: xilinx: Replace custom variants of bitmap_read()/bitmap_write() drivers/gpio/gpio-xilinx.c | 102 ++++++++++++++----------------------- 1 file changed, 37 insertions(+), 65 deletions(-) -- 2.43.0.rc1.1336.g36b5255a03ac
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
On Wed, 05 Feb 2025 11:31:09 +0200, Andy Shevchenko wrote:
> Relatively recently bitmap APIs gain a few new calls which may help
> to convert the GPIO Xilinx driver to use them and become shorter and
> nicer. This mini-series does exactly that.
>
> Changelog v2:
> - fixed a regression in patch 2
>
> [...]
Applied, thanks!
[1/2] gpio: xilinx: Use better bitmap APIs where appropriate
commit: 2af1f667532013eb354c783514839f89d9923240
[2/2] gpio: xilinx: Replace custom variants of bitmap_read()/bitmap_write()
commit: c11708e2b66b56f102bac83980a52661996c2a21
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
+Cc: Yury
On Wed, Feb 05, 2025 at 11:31:09AM +0200, Andy Shevchenko wrote:
> Relatively recently bitmap APIs gain a few new calls which may help
> to convert the GPIO Xilinx driver to use them and become shorter and
> nicer. This mini-series does exactly that.
>
> Changelog v2:
> - fixed a regression in patch 2
>
> Andy Shevchenko (2):
> gpio: xilinx: Use better bitmap APIs where appropriate
> gpio: xilinx: Replace custom variants of bitmap_read()/bitmap_write()
Yury, just FYI, after this series, if applied, the bitmap_remap() and
bitmap_bitremap() may be moved to the NUMA only APIs. Or i.o.w. the
commit cde3d0f81e67 ("bitmap: Make bitmap_remap() and bitmap_bitremap()
available to users") may be reverted.
--
With Best Regards,
Andy Shevchenko
On Wed, Feb 05, 2025 at 11:44:51AM +0200, Andy Shevchenko wrote:
> +Cc: Yury
>
> On Wed, Feb 05, 2025 at 11:31:09AM +0200, Andy Shevchenko wrote:
> > Relatively recently bitmap APIs gain a few new calls which may help
> > to convert the GPIO Xilinx driver to use them and become shorter and
> > nicer. This mini-series does exactly that.
> >
> > Changelog v2:
> > - fixed a regression in patch 2
> >
> > Andy Shevchenko (2):
> > gpio: xilinx: Use better bitmap APIs where appropriate
> > gpio: xilinx: Replace custom variants of bitmap_read()/bitmap_write()
>
> Yury, just FYI, after this series, if applied, the bitmap_remap() and
> bitmap_bitremap() may be moved to the NUMA only APIs. Or i.o.w. the
> commit cde3d0f81e67 ("bitmap: Make bitmap_remap() and bitmap_bitremap()
> available to users") may be reverted.
Thanks Andy, I'll keep an eye on it.
© 2016 - 2025 Red Hat, Inc.