summaryrefslogtreecommitdiffstats
path: root/drivers/vhost
diff options
context:
space:
mode:
authorOhad Ben-Cohen <ohad@wizery.com>2012-05-30 21:02:24 +0200
committerOhad Ben-Cohen <ohad@wizery.com>2012-07-05 23:53:25 +0200
commit7183a2a799b81490354973117ecd810c23cdc668 (patch)
treecfd720d9a745f8d010120ca434246336423aea32 /drivers/vhost
parentremoteproc: maintain a generic child device for each rproc (diff)
downloadlinux-7183a2a799b81490354973117ecd810c23cdc668.tar.xz
linux-7183a2a799b81490354973117ecd810c23cdc668.zip
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>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions