From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 432281F936 for ; Fri, 6 Mar 2026 11:33:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772796791; cv=none; b=vB2WfTOleEpCLhuNszGp24kRDMKtPUi/WmD26YT/xs2kq6Rh8iQcTIJLJVdfrRvebFcvRHmwbHSkt719tGWjuF2q0jeD7nT2qyZnU7MFd6/LmxwJq/s0yFDKBOmHC1SbwdKawNsmlAOV5KFQDHt7ImdRFONoqNJQERzqbMPpSmc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772796791; c=relaxed/simple; bh=Q+zDX1P8ls/JJsf3ImpLHFSH39UUKxYLukqWYdmWLZI=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=TVOQS4BD6ufk4O95y1Trn0c4t2/e/b3NlbgoTp0YHttXF10iaSqtlTYLsakH+7q4HmSkxn4stHerM/xq7xuMeTO/BNDEChsCHOd9Gh8vDn7Q7MaSnlzFBTsatcLBHsZzJ1U9QmtmY1KnIFdCR6YqSd5+nZ28ICA54LRY4HMLzoc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=t5GnaXjT; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="t5GnaXjT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 195B7C4CEF7; Fri, 6 Mar 2026 11:33:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772796790; bh=Q+zDX1P8ls/JJsf3ImpLHFSH39UUKxYLukqWYdmWLZI=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=t5GnaXjTSiUgFNQ4YSiIW1QYiQXR5eYEwGW9uGArLq4+u49wL2hv22XxbYUjl/CCK h4QlzUt1zcL+nXWW/y986UTC4SURQ/NhrgUgLuR0qPwSniDv20RfhoannWx3bGw5lR Q6RJ/31JxUcAevY+JuvZ19/CUBjKRqEedPuwDUfLT7UH9fzxBCEcoKFWoTgDS3M1ey TsNgI1Hzq+lsBLz78wMVv33PkJ3pU2zwG0DhBHBkTQrLe/dU8U4/YWm2kTTMFUHQM0 rKjtnG5XOs3IwuODPFGh2FwCm8/uxMXgnIkMAxSUFwyfBHagau/KijenfC//UPAm6l wjvia9zu0PmIQ== From: Lee Jones To: Lee Jones , Johan Hovold Cc: linux-kernel@vger.kernel.org In-Reply-To: <20260305130358.24681-1-johan@kernel.org> References: <20260305130358.24681-1-johan@kernel.org> Subject: Re: (subset) [PATCH] mfd: dln2: drop redundant device reference Message-Id: <177279678984.945385.4291175297392476005.b4-ty@kernel.org> Date: Fri, 06 Mar 2026 11:33:09 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.15-dev-52d38 On Thu, 05 Mar 2026 14:03:58 +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] mfd: dln2: drop redundant device reference commit: 70ef533c72f8b353ed07e3f566ac381684023992 -- Lee Jones [李琼斯]