Re: [PATCH v1 4/5] gpio: xilinx: Switch to use bitmap APIs

2021-04-08 Thread Andy Shevchenko
On Thu, Apr 08, 2021 at 05:56:00PM +0300, Andy Shevchenko wrote: > It seems that Xilinx GPIO driver operates with bit arrays longer than 32 and > thus can leverage bitmap APIs for that. It makes code better to understand. > > The ->probe() function is modified to try read properties for both chann

[PATCH v1 4/5] gpio: xilinx: Switch to use bitmap APIs

2021-04-08 Thread Andy Shevchenko
It seems that Xilinx GPIO driver operates with bit arrays longer than 32 and thus can leverage bitmap APIs for that. It makes code better to understand. The ->probe() function is modified to try read properties for both channels since is_dual check makes only sense for the amount of pins used for