On Wed, Jan 20, 2021 at 07:27:56PM -0800, Pan Bian wrote:
> Call of_node_put() to drop references of regulators_np and reg_np before
> returning error code.
>
> Fixes: 9ae5cc75ceaa ("regulator: s5m8767: Pass descriptor instead of GPIO
> number")
> Signed-off-by: Pan Bian <[email protected]>
> ---
> drivers/regulator/s5m8767.c | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
> Reviewed-by: Krzysztof Kozlowski <[email protected]> Best regards, Krzysztof

