extcon: Use device_match_of_node() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 22 Mar 2023 14:40:00 +0000 (16:40 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 29 May 2023 14:41:29 +0000 (23:41 +0900)
commit0146f56b91a8ad287e7c94ea340b95a7040d29cf
tree5fd32e4c123aaa05287d5c248f396b83c2e6dd49
parent2b5e61f5069c29df7119af683ea1cf3c3f20a4bd
extcon: Use device_match_of_node() helper

Instead of open coding, use device_match_of_node() helper.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon.c