ata: xgene: Use of_device_get_match_data()
authorRob Herring <robh@kernel.org>
Fri, 6 Oct 2023 21:44:33 +0000 (16:44 -0500)
committerDamien Le Moal <dlemoal@kernel.org>
Wed, 11 Oct 2023 08:53:37 +0000 (17:53 +0900)
commit0ecbef3125510002f521e950a38d95f49e772f00
treed430549b14cf22098f7a36fc91b5281322d4701f
parent2267d5a146c8fe7fcad812aed93b44d4ae148789
ata: xgene: Use of_device_get_match_data()

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@kernel.org>
Reviewed-by: Niklas Cassel <niklas.cassel@wdc.com>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
drivers/ata/ahci_xgene.c