Re: [PATCH] w1: ds2490: drop redundant device reference

From: Krzysztof Kozlowski

Date: Tue Mar 10 2026 - 16:24:59 EST



On Thu, 05 Mar 2026 12:16:13 +0100, Johan Hovold wrote:
> Driver core holds a reference to the USB interface and its parent USB
> device while the interface is bound to a driver and there is no need to
> take additional references unless the structures are needed after
> disconnect.
>
> Drop the redundant device reference to reduce cargo culting, make it
> easier to spot drivers where an extra reference is needed, and reduce
> the risk of memory leaks when drivers fail to release it.
>
> [...]

Applied, thanks!

[1/1] w1: ds2490: drop redundant device reference
https://git.kernel.org/krzk/linux-w1/c/f2c1ae05fe82030537b36012551a5cac28d00254

Best regards,
--
Krzysztof Kozlowski <krzk@xxxxxxxxxx>