Skip to content
Commit 1d8e0223 authored by Cai Huoqing's avatar Cai Huoqing Committed by Krzysztof Kozlowski
Browse files

memory: tegra: Make use of the helper function devm_add_action_or_reset()



Use devm_add_action_or_reset() instead of devm_add_action() to simplify
the error handling.

Signed-off-by: default avatarCai Huoqing <caihuoqing@baidu.com>
Link: https://lore.kernel.org/r/20210922130002.586-1-caihuoqing@baidu.com


Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
parent 13324edb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment