Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
power: bq2415x_charger: Delete unnecessary checks before the function…
… call "of_node_put" The of_node_put() function tests whether its argument is NULL and then returns immediately. Thus the test around the calls is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <[email protected]> Acked-by: Pali Rohár <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
- Loading branch information