diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-04-07 12:18:57 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-04-11 20:17:42 +0300 |
commit | 5c8402c4db45dd55c2c93c8d730f5dfa7c78a702 (patch) | |
tree | d0b8df0841572025d5fad25ce4f7c1bb8565e7b8 /drivers/phy/ti | |
parent | 388ec8f079f2f20d5cd183c3bc6f33cbc3ffd3ef (diff) | |
download | linux-5c8402c4db45dd55c2c93c8d730f5dfa7c78a702.tar.xz |
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/phy/ti')
0 files changed, 0 insertions, 0 deletions