]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
memory: mtk-smi: clean up device link creation
authorJohan Hovold <johan@kernel.org>
Fri, 21 Nov 2025 16:46:24 +0000 (17:46 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Tue, 16 Dec 2025 07:21:11 +0000 (08:21 +0100)
commit78da7027e2a99edea0d7e97b25d75be4698a8728
tree436674e9a365382df03f056598a4ba896b28a8d0
parent9dae65913b32d05dbc8ff4b8a6bf04a0e49a8eb6
memory: mtk-smi: clean up device link creation

Clean up device link creation by bailing out early in case the SMI
platform device lookup fails.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20251121164624.13685-4-johan@kernel.org
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
drivers/memory/mtk-smi.c