summaryrefslogtreecommitdiff
path: root/fs/proc
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-03-22 16:40:01 +0200
committerChanwoo Choi <cw00.choi@samsung.com>2023-04-03 23:15:47 +0900
commitff6decd12868f0847e8b689cd913273ccefdebde (patch)
treea33612b269fba24061f0b1bb712fa45b8d863840 /fs/proc
parent5e0dd62239f18ab11d8073596664e52e45a77801 (diff)
downloadlinux-next-ff6decd12868f0847e8b689cd913273ccefdebde.tar.gz
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 'fs/proc')
0 files changed, 0 insertions, 0 deletions