Re: [PATCH 1/2] gpio: pci-idio-16: Replace deprecated PCI functions

From: Linus Walleij
Date: Fri Nov 01 2024 - 06:41:18 EST


On Fri, Nov 1, 2024 at 8:15 AM William Breathitt Gray <wbg@xxxxxxxxxx> wrote:

> pcim_iomap_regions() and pcim_iomap_table() have been deprecated in
> commit e354bb84a4c1 ("PCI: Deprecate pcim_iomap_table(),
> pcim_iomap_regions_request_all()"). Replace these functions with
> pcim_iomap_region().
>
> In order to match the rest of the code in idio_16_probe(), utilize
> dev_err_probe() to handle error for pcim_enable_device().
>
> Signed-off-by: William Breathitt Gray <wbg@xxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij