kernel_optimize_test/drivers/usb/phy
Christophe JAILLET f058764d19 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>
2020-05-09 11:05:08 +03:00
..
Kconfig usb: phy: Add driver for the Ingenic JZ4770 USB transceiver 2020-03-12 09:53:08 +01:00
Makefile usb: phy: Add driver for the Ingenic JZ4770 USB transceiver 2020-03-12 09:53:08 +01:00
of.c
phy-ab8500-usb.c usb: phy: ab8500-usb: Keep PHY turned on in UART mode 2019-12-30 20:11:31 +01:00
phy-am335x-control.c
phy-am335x-control.h
phy-am335x.c usb: phy-generic: Delete unused platform data 2020-01-15 10:39:20 +01:00
phy-fsl-usb.c
phy-fsl-usb.h
phy-generic.c usb: phy-generic: Delete unused platform data 2020-01-15 10:39:20 +01:00
phy-generic.h usb: phy-generic: Delete unused platform data 2020-01-15 10:39:20 +01:00
phy-gpio-vbus-usb.c usb: phy: phy-gpio-vbus-usb: Convert to GPIO descriptors 2020-01-23 19:20:57 +01:00
phy-isp1301-omap.c
phy-isp1301.c
phy-jz4770.c usb: phy: Add driver for the Ingenic JZ4770 USB transceiver 2020-03-12 09:53:08 +01:00
phy-keystone.c usb: phy-generic: Delete unused platform data 2020-01-15 10:39:20 +01:00
phy-mv-usb.c
phy-mv-usb.h
phy-mxs-usb.c usb: phy: mxs: use devm_platform_ioremap_resource() to simplify code 2019-10-04 14:09:41 +02:00
phy-omap-otg.c
phy-tahvo.c
phy-tegra-usb.c usb: phy: tegra: Include proper GPIO consumer header to fix compile testing 2020-03-04 10:51:21 +01:00
phy-twl6030-usb.c usb: phy: twl6030-usb: Fix a resource leak in an error handling path in 'twl6030_usb_probe()' 2020-05-09 11:05:08 +03:00
phy-ulpi-viewport.c
phy-ulpi.c usb: ulpi: Add resource-managed variant of otg_ulpi_create() 2020-01-09 16:21:57 +01:00
phy.c usb: phy: show USB charger type for user 2020-01-24 09:41:27 +01:00