bus: imx-weim: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Wed, 25 Oct 2023 16:12:21 +0000 (11:12 -0500)
committerShawn Guo <shawnguo@kernel.org>
Mon, 27 Nov 2023 03:05:30 +0000 (11:05 +0800)
commitfcefbb49ebb7ad9f06ecee33ae87e4d7075728ff
tree70844ab529cfa20a0d49e0055191a51540ee4794
parentb85ea95d086471afb4ad062012a4d73cd328fa86
bus: imx-weim: 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: Shawn Guo <shawnguo@kernel.org>
drivers/bus/imx-weim.c