]> git.ipfire.org Git - thirdparty/linux.git/commit
mmc: crypto: add mmc_from_crypto_profile()
authorEric Biggers <ebiggers@google.com>
Fri, 13 Dec 2024 04:19:49 +0000 (20:19 -0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 19 Dec 2024 13:43:28 +0000 (14:43 +0100)
commit08a7ead3242f70f4415232800104ae458fd96d17
treef2bf5cb4660d629fbbcbff42a0a76fefad773cfe
parentf2d3630f1c361cfcd16fff88ff79e19ef8ac896a
mmc: crypto: add mmc_from_crypto_profile()

Add a helper function that encapsulates a container_of expression.  For
now there is just one user but soon there will be more.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Message-ID: <20241213041958.202565-7-ebiggers@kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/cqhci-crypto.c
include/linux/mmc/host.h