Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
- Loading branch information