diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2020-04-27 22:21:16 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2020-05-09 11:05:08 +0300 |
commit | f058764d19000d98aef72010468db1f69faf9fa0 (patch) | |
tree | 2ecfea97f216a1d34d33982024f2b7b050caa58b /scripts/bpf_helpers_doc.py | |
parent | 95cd7dc47abd71d1a0c9c43594ff2fa32552f46c (diff) |
usb: phy: twl6030-usb: Fix a resource leak in an error handling path in 'twl6030_usb_probe()'
A call to 'regulator_get()' is hidden in 'twl6030_usb_ldo_init()'. A
corresponding put must be performed in the error handling path, as
already done in the remove function.
While at it, also move a 'free_irq()' call in the error handling path in
order to be consistent.
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions