diff options
author | Paul Cercueil <[email protected]> | 2020-04-17 19:00:37 +0200 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2020-04-20 19:54:29 -0700 |
commit | 305ac5a766b1d0dd8a4052c8c92e5464888eaa10 (patch) | |
tree | 7b1e40c4ce498b6c4705e44f17c2d9a33e77ebb5 /drivers/remoteproc/stm32_rproc.c | |
parent | db65527836156fe9c6abe6b9b4aa02fac49a67e3 (diff) |
remoteproc: Add device-managed variants of rproc_alloc/rproc_add
Add API functions devm_rproc_alloc() and devm_rproc_add(), which behave
like rproc_alloc() and rproc_add() respectively, but register their
respective cleanup function to be called on driver detach.
Reviewed-by: Bjorn Andersson <[email protected]>
Signed-off-by: Paul Cercueil <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'drivers/remoteproc/stm32_rproc.c')
0 files changed, 0 insertions, 0 deletions