2018-07-21 23:03:21

by Alexey Khoroshilov

[permalink] [raw]
Subject: regulator: bcm590xx: of_node_put(np) missing

Hello,

bcm590xx_parse_dt_reg_data() calls of_node_get(np),
but there is nowhere of_node_put(np) in the driver.
Should we add of_node_put(np) and what is timeframe of_node_get(np) required for?

Found by Linux Driver Verification project (linuxtesting.org).

--
Alexey Khoroshilov
Linux Verification Center, ISPRAS
web: http://linuxtesting.org