[PATCH 2/2] remoteproc: remove the now-redundant kref

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Jul 2 04:59:11 EDT 2012


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().



More information about the linux-arm-kernel mailing list