hwspinlock: Use device_match_of_node()
authorye xingchen <ye.xingchen@zte.com.cn>
Fri, 25 Nov 2022 07:44:36 +0000 (15:44 +0800)
committerBjorn Andersson <andersson@kernel.org>
Wed, 28 Dec 2022 16:39:20 +0000 (10:39 -0600)
commitec5c05e5ac8bcb4a6bcd92970e15494a85400d34
treee369ad8a5a3492420f5a305fe2a399dbd03f9dea
parent1b929c02afd37871d5afb9d498426f83432e71c2
hwspinlock: Use device_match_of_node()

Replace the open-code with device_match_of_node().

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/202211251544369078587@zte.com.cn
drivers/hwspinlock/hwspinlock_core.c