Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
soc: ti: pm33xx: Fix some resource leak in the error handling paths o…
…f the probe function [ Upstream commit 17ad466 ] 'am33xx_pm_rtc_setup()' allocates some resources that must be freed on the error. Commit 2152fbb ("soc: ti: pm33xx: Simplify RTC usage to prepare to drop platform data") has introduced the use of these resources but has only updated the remove function. Fix the error handling path of the probe function now. Fixes: 2152fbb ("soc: ti: pm33xx: Simplify RTC usage to prepare to drop platform data") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information