diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-04-07 11:18:57 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-04-11 22:47:42 +0530 |
commit | 5c8402c4db45dd55c2c93c8d730f5dfa7c78a702 (patch) | |
tree | d0b8df0841572025d5fad25ce4f7c1bb8565e7b8 /drivers/extcon | |
parent | 388ec8f079f2f20d5cd183c3bc6f33cbc3ffd3ef (diff) |
phy: samsung: exynos5250-sata: fix missing device put in probe error paths
The actions of of_find_i2c_device_by_node() in probe function should be
reversed in error paths by putting the reference to obtained device.
Fixes: bcff4cba41bc ("PHY: Exynos: Add Exynos5250 SATA PHY driver")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Link: https://lore.kernel.org/r/20220407091857.230386-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/extcon')
0 files changed, 0 insertions, 0 deletions