media: ir-hix5hd2: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Mon, 9 Oct 2023 21:13:31 +0000 (16:13 -0500)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 16 Nov 2023 12:56:47 +0000 (13:56 +0100)
commit7d21a2df45a6718b8ff402ab8a5e6c2936ac9799
tree694ebdac7a12f117cfd1154955903b3fad1ee6a1
parent26dde1beb359bd7ac7b37f741ba64d11611d106a
media: ir-hix5hd2: 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: Sean Young <sean@mess.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/rc/ir-hix5hd2.c