Re: [PATCH] ata: pata_platform: Make use of platform_get_mem_or_io()

From: Damien Le Moal
Date: Thu Jan 27 2022 - 18:35:30 EST


On 1/17/22 11:01, Lad Prabhakar wrote:
> Make use of platform_get_mem_or_io() to simplify the code.
>
> While at it, drop use of unlikely() from pata_platform_probe()
> as it isn't a hotpath.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
> Reviewed-by: Sergey Shtylyov <s.shtylyov@xxxxxx>
> ---
> Hi All,
>
> This patch is part of series [1]. Just sending this lone patch
> for now.
>
> [1] http://patchwork.ozlabs.org/project/linux-ide/list/?series=278349
>
> Cheers,
> Prabhakar

Applied to for-5.18. Thanks !


--
Damien Le Moal
Western Digital Research