]> www.infradead.org Git - users/jedix/linux-maple.git/commit
memory: samsung: exynos5422-dmc: use scoped device node handling to simplify error...
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 16 Aug 2024 10:54:28 +0000 (12:54 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 21 Aug 2024 11:23:33 +0000 (13:23 +0200)
commite2cc3ddaec0218f227cc53e3f784144640cd1765
tree134c145dd0e5b0d4bd1b50186c690e0771a64193
parent2af13f97fc67979701a240ebe397811491ad575c
memory: samsung: exynos5422-dmc: use scoped device node handling to simplify error paths

Obtain the device node reference with scoped/cleanup.h to reduce error
handling and make the code a bit simpler.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20240816-cleanup-h-of-node-put-memory-v2-4-9eed0ee16b78@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/memory/samsung/exynos5422-dmc.c