EDAC/altera: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Wed, 15 Nov 2023 21:02:01 +0000 (15:02 -0600)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 20 Nov 2023 08:59:16 +0000 (09:59 +0100)
commit1b09892962048a66ab46bf489c2b1264c1ae99ee
tree5371fef3e0073dada795748a5de3e043904ac389
parent98b1cc82c4affc16f5598d4fa14b1858671b2263
EDAC/altera: Use device_get_match_data()

Use preferred 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>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20231115210201.3743564-1-robh@kernel.org
drivers/edac/altera_edac.c