diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-03-22 16:40:01 +0200 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2023-05-29 23:41:29 +0900 |
commit | 9b4aea51cbcaefacaac655392f360bb3929ab63d (patch) | |
tree | d95eeb42900f6bef44eb0c0400e83a9ff1779ebd /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0146f56b91a8ad287e7c94ea340b95a7040d29cf (diff) |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions