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: Cai Huoqing <caihuoqing@baidu.com> Link: https://lore.kernel.org/r/20210922130002.586-1-caihuoqing@baidu.comSigned-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Showing
Please register or sign in to comment