Re: [PATCH] ata: xgene: Use of_device_get_match_data()

From: Damien Le Moal
Date: Wed Oct 11 2023 - 07:11:25 EST


On 10/7/23 06:44, Rob Herring wrote:
> Use preferred of_device_get_match_data() instead of of_match_device() to
> get the driver match data. With this, adjust the includes to explicitly
> include the correct headers.
>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>

Applied to for-6.7. Thanks !

> ---
> Perhaps device_get_match_data() could be used here and all the ACPI
> specific code dropped, but not sure if all the ACPI code is really
> necessary.

Will have a look at that.

--
Damien Le Moal
Western Digital Research