diff options
author | Ohad Ben-Cohen <ohad@wizery.com> | 2012-07-02 11:41:16 +0300 |
---|---|---|
committer | Ohad Ben-Cohen <ohad@wizery.com> | 2012-07-06 00:53:25 +0300 |
commit | c6b5a27628faf6657b741d828a1462d832d0dbc5 (patch) | |
tree | 3f5bcb10c6d2b1e395330536476d471415632832 /ipc | |
parent | 7183a2a799b81490354973117ecd810c23cdc668 (diff) | |
download | op-kernel-dev-c6b5a27628faf6657b741d828a1462d832d0dbc5.zip op-kernel-dev-c6b5a27628faf6657b741d828a1462d832d0dbc5.tar.gz |
remoteproc: simplify unregister/free interfaces
Simplify the unregister/free interfaces, and make them easier
to understand and use, by moving to a symmetric and consistent
alloc() -> register() -> unregister() -> free() flow.
To create and register an rproc instance, one needed to invoke
rproc_alloc() followed by rproc_register().
To unregister and free an rproc instance, one now needs to invoke
rproc_unregister() followed by rproc_free().
Cc: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions