hte: Use device_match_of_node()
authorye xingchen <ye.xingchen@zte.com.cn>
Thu, 17 Nov 2022 07:17:29 +0000 (15:17 +0800)
committerDipen Patel <dipenp@nvidia.com>
Wed, 26 Apr 2023 22:44:19 +0000 (15:44 -0700)
commit9e0c2d40a40733fba605ff47a08f3eba2fab4fbb
tree00f2ba94c952e87ee51fc384037554e207932bde
parente078180d66848a6a890daf0a3ce28dc43cc66790
hte: Use device_match_of_node()

Replace the open-code with device_match_of_node().

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Acked-by: Dipen Patel <dipenp@nvidia.com>
Signed-off-by: Dipen Patel <dipenp@nvidia.com>
drivers/hte/hte.c