]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mtd: spi-nor: use scope-based mutex cleanup helpers
authorTudor Ambarus <tudor.ambarus@linaro.org>
Tue, 11 Feb 2025 09:30:54 +0000 (09:30 +0000)
committerPratyush Yadav <pratyush@kernel.org>
Tue, 18 Feb 2025 14:21:54 +0000 (14:21 +0000)
commit03e7bb864d9a9efca02743d4a9fab8f3d0b00407
treeed429ab99ff71fbfc6b9e4082702a20ce55d1f69
parenta20d7d265eda6a7713a2e7e8d5a45c8abc3487eb
mtd: spi-nor: use scope-based mutex cleanup helpers

Use scope-based mutex clenup helpers, it reduces the code size.

Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Reviewed-by: Pratyush Yadav <pratyush@kernel.org>
Signed-off-by: Pratyush Yadav <pratyush@kernel.org>
Link: https://lore.kernel.org/r/20250211-spi-nor-guard-mutex-v1-2-05ed77a484d9@linaro.org
drivers/mtd/spi-nor/core.c