summaryrefslogtreecommitdiffstats
path: root/lib/klist.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-03-22 15:40:01 +0100
committerChanwoo Choi <cw00.choi@samsung.com>2023-05-29 16:41:29 +0200
commit9b4aea51cbcaefacaac655392f360bb3929ab63d (patch)
treed95eeb42900f6bef44eb0c0400e83a9ff1779ebd /lib/klist.c
parentextcon: Use device_match_of_node() helper (diff)
downloadlinux-9b4aea51cbcaefacaac655392f360bb3929ab63d.tar.xz
linux-9b4aea51cbcaefacaac655392f360bb3929ab63d.zip
extcon: Use dev_of_node(dev) instead of dev->of_node
The dev_of_node function should be preferred. In the result we may drop unneeded NULL check of the pointer to the device object. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'lib/klist.c')
0 files changed, 0 insertions, 0 deletions