summaryrefslogtreecommitdiff
path: root/drivers/memory/tegra/tegra20-emc.c
diff options
context:
space:
mode:
authorCai Huoqing <caihuoqing@baidu.com>2021-09-22 16:00:01 +0300
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-09-24 14:18:47 +0300
commit1d8e0223bb52071ffc59391f0ebefa06ce5643d7 (patch)
tree329c21a84e482a3021e3c73ab3a6d8b4fe80ded0 /drivers/memory/tegra/tegra20-emc.c
parent13324edbe9269e6fbca4d0f5146b18ef8478c958 (diff)
downloadlinux-1d8e0223bb52071ffc59391f0ebefa06ce5643d7.tar.xz
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.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Diffstat (limited to 'drivers/memory/tegra/tegra20-emc.c')
0 files changed, 0 insertions, 0 deletions