Re: [PATCH 09/13] ata: Use always-managed version of pci_intx()
From: Sergey Shtylyov
Date: Wed Oct 16 2024 - 15:49:39 EST
On 10/15/24 9:51 PM, Philipp Stanner wrote:
> pci_intx() is a hybrid function which can sometimes be managed through
> devres. To remove this hybrid nature from pci_intx(), it is necessary to
> port users to either an always-managed or a never-managed version.
>
> All users in ata enable their PCI-Device with pcim_enable_device(). Thus,
> they need the always-managed version.
>
> Replace pci_intx() with pcim_intx().
>
> Signed-off-by: Philipp Stanner <pstanner@xxxxxxxxxx>
Reviewed-by: Sergey Shtylyov <s.shtylyov@xxxxxx>
[...]
MBR, Sergey