linux/drivers/remoteproc
Ohad Ben-Cohen 7183a2a799 remoteproc: remove the now-redundant kref
Now that every rproc instance contains a device, we don't need a
kref anymore to maintain the refcount of the rproc instances:
that's what device are good with!

This patch removes the now-redundant kref, and switches to
{get, put}_device instead of kref_{get, put}.

We also don't need the kref's release function anymore, and instead,
we just utilize the class's release handler (which is now responsible
for all memory de-allocations).

Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Fernando Guzman Lugo <fernando.lugo@ti.com>
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: maintain a generic child device for each rproc 2012-07-06 00:53:03 +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: remove the now-redundant kref 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