Philipp Stanner dee37e90b4
PCI: Add and use devres helper for bit masks
The current devres implementation uses manual shift operations to check
whether a bit in a mask is set. The code can be made more readable by
writing a small helper function for that.

Implement mask_contains_bar() and use it where applicable.

Link: https://lore.kernel.org/r/20240613115032.29098-2-pstanner@redhat.com
Signed-off-by: Philipp Stanner <pstanner@redhat.com>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2024-07-10 04:19:03 +00:00
..
2024-05-16 18:14:13 -05:00
2024-05-16 18:14:14 -05:00
2024-05-21 10:09:28 -07:00
2024-05-16 18:14:14 -05:00
2023-10-24 16:55:45 -05:00
2024-04-09 09:33:15 -05:00
2024-02-12 10:35:40 -06:00
2024-02-12 10:35:40 -06:00
2024-03-12 12:14:23 -05:00
2023-10-28 13:30:59 -05:00
2024-03-12 12:14:24 -05:00
2024-05-16 18:14:14 -05:00
2024-05-16 18:14:14 -05:00
2024-05-21 10:09:28 -07:00
2023-09-28 16:49:44 -05:00
2023-10-24 16:55:45 -05:00
2023-11-02 14:05:18 -10:00