summaryrefslogtreecommitdiff
path: root/drivers/remoteproc/keystone_remoteproc.c
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2024-01-23 21:49:08 +0300
committerMathieu Poirier <mathieu.poirier@linaro.org>2024-02-02 21:04:33 +0300
commit92a0915ac3eb571fc014c249c66db802be7fdac9 (patch)
treee67943b8fce88ac9565c7583a3b2faa4e77dd64e /drivers/remoteproc/keystone_remoteproc.c
parent961a919a6dbd24b670766ae0613085d63e9c79e3 (diff)
downloadlinux-92a0915ac3eb571fc014c249c66db802be7fdac9.tar.xz
remoteproc: k3-dsp: Use devm_kcalloc() helper
Use a device lifecycle managed action to free memory. This helps prevent mistakes like freeing out of order in cleanup functions and forgetting to free on error paths. Signed-off-by: Andrew Davis <afd@ti.com> Link: https://lore.kernel.org/r/20240123184913.725435-3-afd@ti.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'drivers/remoteproc/keystone_remoteproc.c')
0 files changed, 0 insertions, 0 deletions