diff options
author | Rob Herring <robh@kernel.org> | 2023-10-20 08:02:56 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2023-10-27 09:15:44 +0200 |
commit | 08d4c174828d868d314d2475fbcaa1393f0bbba9 (patch) | |
tree | def8a6d2bbaa6b090e72e38e15c7e45e63ac3212 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | 5e7afb2eb7b2a7c81e9f608cbdf74a07606fd1b5 (diff) |
irqchip/ls-scfg-msi: Use device_get_match_data()
Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data in a single step without the unnecessary
intermediate match pointer.
With this, adjust the includes to explicitly include the correct
headers. That also serves as preparation to remove implicit includes within
the DT headers. of_platform.h currently includes platform_device.h among
others.
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20231020130255.2954415-3-robh@kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions