regulator: s5m8767: Drop regulators OF node reference
The device node reference obtained with of_get_child_by_name() should be dropped on error paths. Fixes: 26aec009 ("regulator: add device tree support for s5m8767") Signed-off-by: NKrzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20210121155914.48034-1-krzk@kernel.orgSigned-off-by: NMark Brown <broonie@kernel.org>
Showing
想要评论请 注册 或 登录