Re: [PATCH v2 02/23] PCI: artpec6: Prefer of_device_get_match_data()

From: Jesper Nilsson
Date: Sat Dec 25 2021 - 08:31:13 EST


On Thu, Dec 23, 2021 at 02:10:33AM +0100, Bjorn Helgaas wrote:
> From: Fan Fei <ffclaire1224@xxxxxxxxx>
>
> The artpec6 driver only needs the device data, not the whole struct
> of_device_id. Use of_device_get_match_data() instead of of_match_device().
> No functional change intended.
>
> [bhelgaas: commit log]
> Signed-off-by: Fan Fei <ffclaire1224@xxxxxxxxx>
> Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>

Looks good to me,

Acked-by: Jesper Nilsson <jesper.nilsson@xxxxxxxx>

> Cc: linux-arm-kernel@xxxxxxxx

/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@xxxxxxxx