From: Ohad Ben-Cohen Date: Wed, 30 May 2012 19:02:24 +0000 (+0300) Subject: remoteproc: remove the now-redundant kref X-Git-Tag: v3.6-rc1~80^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7183a2a799b81490354973117ecd810c23cdc668;p=pandora-kernel.git 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 Cc: Fernando Guzman Lugo Signed-off-by: Ohad Ben-Cohen --- Reading git-diff-tree failed