ipmi: si: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Wed, 15 Nov 2023 21:02:29 +0000 (15:02 -0600)
committerCorey Minyard <minyard@acm.org>
Tue, 19 Dec 2023 12:32:27 +0000 (06:32 -0600)
commit5be50eb5ae99d890cc22ab49753330cce8731599
treef54ae87238fdb787d51230f4e42ddb628decdcdf
parentceb6a6f023fd3e8b07761ed900352ef574010bcb
ipmi: si: 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>
Message-Id: <20231115210230.3744198-1-robh@kernel.org>
Signed-off-by: Corey Minyard <minyard@acm.org>
drivers/char/ipmi/ipmi_si_platform.c