Searched hist:c6b5a27628faf6657b741d828a1462d832d0dbc5 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/remoteproc/ |
H A D | omap_remoteproc.c | diff c6b5a27628faf6657b741d828a1462d832d0dbc5 Mon Jul 02 03:41:16 CDT 2012 Ohad Ben-Cohen <ohad@wizery.com> 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>
|
H A D | remoteproc_core.c | diff c6b5a27628faf6657b741d828a1462d832d0dbc5 Mon Jul 02 03:41:16 CDT 2012 Ohad Ben-Cohen <ohad@wizery.com> 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>
|