# \[PATCH v2 0/5\] gpio: xilinx: convert to use bitmap API

- From: Andy Shevchenko \<andriy.shevchenko@linux.intel.com\>
- Date: 2021-05-10 19:46:28 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2021/05/1371073
- Thread: https://ratatoskr.run/linux-gpio/2021/05/1371073/t.md

```text
The change in the series has been inspired by [1], which, I think,
can be improved. Here I present the view how it may be done.

[1]: cover.1617380819.git.syednwaris@gmail.com

In v2:
- folding followup fix into patch 4
- added Tested-by (Srinivas)
- added Ack (Yuri)
- added Rb (Michal)
- rebased on top of v5.13-rc1

Andy Shevchenko (5):
  bitmap: Make bitmap_remap() and bitmap_bitremap() available to users
  gpio: xilinx: Correct kernel doc for xgpio_probe()
  gpio: xilinx: Introduce xgpio_read_chan() / xgpio_write_chan()
  gpio: xilinx: Switch to use bitmap APIs
  gpio: xilinx: No need to disable IRQs in the handler

 drivers/gpio/gpio-xilinx.c | 385 +++++++++++++++++++------------------
 lib/bitmap.c               |   5 +-
 2 files changed, 198 insertions(+), 192 deletions(-)

-- 
2.30.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
