mailbox: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Fri, 6 Oct 2023 22:44:06 +0000 (17:44 -0500)
committerJassi Brar <jaswinder.singh@linaro.org>
Sun, 15 Oct 2023 17:39:16 +0000 (12:39 -0500)
commit5cb5d0c964d15c14471dfbf6e66587edb5346206
tree2ac3e4e62bf11cd39663232d3bebc2721b85046d
parent81186dc1610155fc96740a81aa4f0a8b3cbb7dfb
mailbox: 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: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/bcm-pdc-mailbox.c
drivers/mailbox/mailbox-sti.c
drivers/mailbox/ti-msgmgr.c