summaryrefslogtreecommitdiffstats
path: root/drivers/memory/samsung
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2022-06-01 16:01:18 +0400
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-06-06 11:17:14 +0200
commit038ae37c510fd57cbc543ac82db1e7b23b28557a (patch)
treedb3877a4271cc1fb6f734f5cae5ee97391d06f7b /drivers/memory/samsung
parent67c7fc6cd915d809be4de2eed323aa5f2205c52f (diff)
downloadlinux-stable-038ae37c510fd57cbc543ac82db1e7b23b28557a.tar.gz
linux-stable-038ae37c510fd57cbc543ac82db1e7b23b28557a.tar.bz2
linux-stable-038ae37c510fd57cbc543ac82db1e7b23b28557a.zip
memory: mtk-smi: add missing put_device() call in mtk_smi_device_link_common
The reference taken by 'of_find_device_by_node()' must be released when not needed anymore. Add the corresponding 'put_device()' in the error handling paths. Fixes: 47404757702e ("memory: mtk-smi: Add device link for smi-sub-common") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Link: https://lore.kernel.org/r/20220601120118.60225-1-linmq006@gmail.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'drivers/memory/samsung')
0 files changed, 0 insertions, 0 deletions