PM / devfreq: event: Use device_match_of_node()
authorye xingchen <ye.xingchen@zte.com.cn>
Fri, 25 Nov 2022 07:10:04 +0000 (15:10 +0800)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 5 Dec 2022 12:57:18 +0000 (21:57 +0900)
commitad44c2fd0e22910080e7761fb889c6c6c8c914d8
tree9ad4f0f61d1cae6a14de24dc47034702b01e746d
parentfba395369af5b9ca9c091ec3bfdb02915e8f1141
PM / devfreq: event: Use device_match_of_node()

Replace the open-code with device_match_of_node().

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/devfreq-event.c