mailbox: rockchip: Use device_get_match_data() to simplify the code
authorye xingchen <ye.xingchen@zte.com.cn>
Thu, 17 Nov 2022 11:29:11 +0000 (19:29 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Mon, 19 Dec 2022 02:40:29 +0000 (20:40 -0600)
commit8b9b08bd8d6adda032ae65a3a2f87ee989500c02
treed8f93be101f8d801f819eedc9d73c18e6aefc344
parent76f708f635403d826ebea17ccce60d47c6671e22
mailbox: rockchip: Use device_get_match_data() to simplify the code

Directly get the match data with device_get_match_data().

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/rockchip-mailbox.c