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 852C913BC0C; Sun, 13 Jul 2025 19:39:46 +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=1752435586; cv=none; b=Hqo/nx8vVztBC8OuDFkw4YVsqJgJ2+dI/Zs67OUlZzC1NyuVlYW/l0Eml6KL5/GTxs4/+85c+QtsorV1IfZugClEqQc49NoCo6JSfAV0A4fWgviz7eQcZbn0lR9Vo56w/lrgB7uU7+ZqMepmvZmnNxE2zv55nNOuMlLSdk6tv4Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752435586; c=relaxed/simple; bh=v0Swty0gcs8V0VoDhkUG5KVGy3UPRSN3UamJ71mCKOQ=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=KtUnP+65DxSRFZhCRvbwMn6tB8Jyhggyu5SoAtQ0Zl8Bl16N6Pgu8yqSkPJDvFdrKH3ARoDrazjzlpC0RFiPPQCqd6QAmOePKqK1rJd4eGHh32BfK3MyH5YNHFsWihqkIVmSKoJXiUnP+7HvDcCzse3UupdfsdKEm3UZjsZHsKI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Jx17oAVB; 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="Jx17oAVB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1A30AC4CEE3; Sun, 13 Jul 2025 19:39:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1752435586; bh=v0Swty0gcs8V0VoDhkUG5KVGy3UPRSN3UamJ71mCKOQ=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=Jx17oAVBfvKzb3akv4u8jOcPga6egWxxsqzYQkUkBqQiFhGhoIAok3xtJNj/D+tdD Cda9C8C+ckeNPKHC3N+tAKmE4rrIBcYdaJQEQJg03Su0SbyI8ZVVqJLhagvtJQw53j CM+GqOJkWaYICR9XOzHc6kNwKXEltABpGxneQjXzsXreeiazStHWriLQK3v/HDbYDt 4IyWmZ9jPrz+Ze8YblJ5Qfu3Lp5rhTBEB7FNvNTksoQ8rf4cqYBZDMwRl453BK0QKv jQgDvVoggVQGuhE+naLrYMBLScEsHY9oFZy4K37lLbXNi0+5codsh1ldKDSQyEKwaH fTNaUHWtw0cZA== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sun, 13 Jul 2025 21:39:41 +0200 Message-Id: Cc: , Subject: Re: [PATCH 1/2] rust: devres: provide an accessor for the device From: "Benno Lossin" To: "Danilo Krummrich" , , , , , , , , , , , , X-Mailer: aerc 0.20.1 References: <20250713182737.64448-1-dakr@kernel.org> In-Reply-To: <20250713182737.64448-1-dakr@kernel.org> On Sun Jul 13, 2025 at 8:26 PM CEST, Danilo Krummrich wrote: > Provide an accessor for the Device a Devres instance has been created > with. > > For instance, this is useful when registrations want to provide a > &Device for a scope that is protected by Devres. > > Suggested-by: Benno Lossin > Signed-off-by: Danilo Krummrich Reviewed-by: Benno Lossin --- Cheers, Benno > --- > rust/kernel/devres.rs | 5 +++++ > 1 file changed, 5 insertions(+)