diff options
author | Ohad Ben-Cohen <[email protected]> | 2012-05-30 22:02:24 +0300 |
---|---|---|
committer | Ohad Ben-Cohen <[email protected]> | 2012-07-06 00:53:25 +0300 |
commit | 7183a2a799b81490354973117ecd810c23cdc668 (patch) | |
tree | cfd720d9a745f8d010120ca434246336423aea32 /lib/mpi/mpi-bit.c | |
parent | b5ab5e24e960b9f780a4cc96815cfd4b0d412720 (diff) |
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 <[email protected]>
Cc: Fernando Guzman Lugo <[email protected]>
Signed-off-by: Ohad Ben-Cohen <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions