2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 09:43:59 +08:00
linux-next/drivers/remoteproc
Ohad Ben-Cohen c6b5a27628 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>
2012-07-06 00:53:25 +03:00
..
Kconfig remoteproc/omap: two Kconfig fixes 2012-02-28 19:09:16 +02:00
Makefile remoteproc: remoteproc_rpmsg -> remoteproc_virtio 2012-03-06 19:13:45 +02:00
omap_remoteproc.c remoteproc: simplify unregister/free interfaces 2012-07-06 00:53:25 +03:00
omap_remoteproc.h remoteproc/omap: add a remoteproc driver for OMAP4 2012-02-08 22:53:47 +02:00
remoteproc_core.c remoteproc: simplify unregister/free interfaces 2012-07-06 00:53:25 +03:00
remoteproc_debugfs.c remoteproc: maintain a generic child device for each rproc 2012-07-06 00:53:03 +03:00
remoteproc_internal.h remoteproc: allocate vrings on demand, free when not needed 2012-07-04 13:27:04 +03:00
remoteproc_virtio.c remoteproc: remove the now-redundant kref 2012-07-06 00:53:25 +03:00