Dinghao Liu c2766ed2b7 mfd: dln2: Fix double put in dln2_probe
[ Upstream commit 759c409bc5fc496cbc22cd0b392d3cbb0c0e23eb ]

The dln2_free() already contains usb_put_dev(). Therefore,
the redundant usb_put_dev() before dln2_free() may lead to
a double free.

Fixes: 96da8f148396 ("mfd: dln2: Fix memory leak in dln2_probe()")
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Link: https://lore.kernel.org/r/20230925024134.9683-1-dinghao.liu@zju.edu.cn
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 11:06:52 +01:00
..
2023-11-20 11:06:52 +01:00
2019-07-15 20:18:40 -07:00
2019-12-01 16:16:31 -08:00
2020-09-30 16:25:29 +01:00
2019-07-02 12:11:31 +01:00
2019-07-15 20:18:40 -07:00
2019-07-15 20:18:40 -07:00
2019-07-09 08:59:39 -07:00