From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Mon, 2 Jul 2012 09:59:11 +0100 Subject: [PATCH 2/2] remoteproc: remove the now-redundant kref In-Reply-To: References: <1338017791-9442-1-git-send-email-ohad@wizery.com> <1338017791-9442-2-git-send-email-ohad@wizery.com> <4FC5DD74.4030202@codeaurora.org> <4FCD272E.1020300@codeaurora.org> Message-ID: <20120702085911.GA16639@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Jul 02, 2012 at 11:52:27AM +0300, Ohad Ben-Cohen wrote: > 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. The naming in the driver model is: alloc() -> add() -> del() -> put() where alloc() is an allocation + initialization, and register() -> unregister() where register() is initialization + add() and unregister() is del() + put().