From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] remoteproc: remove the now-redundant kref
Date: Mon, 2 Jul 2012 09:59:11 +0100 [thread overview]
Message-ID: <20120702085911.GA16639@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <CAK=WgbZu1hYOd27r259b2v48VFYeOZ4UE5sD2awZDxgBgjAsXw@mail.gmail.com>
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().
next prev parent reply other threads:[~2012-07-02 8:59 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-26 7:36 [PATCH 1/2] remoteproc: maintain a generic child device for each rproc Ohad Ben-Cohen
2012-05-26 7:36 ` [PATCH 2/2] remoteproc: remove the now-redundant kref Ohad Ben-Cohen
2012-05-30 8:42 ` Stephen Boyd
2012-05-30 12:38 ` Ohad Ben-Cohen
2012-06-04 21:22 ` Stephen Boyd
2012-06-05 10:25 ` Ohad Ben-Cohen
2012-07-02 8:52 ` Ohad Ben-Cohen
2012-07-02 8:59 ` Russell King - ARM Linux [this message]
2012-07-02 9:05 ` Ohad Ben-Cohen
2012-07-15 10:10 ` Ohad Ben-Cohen
2012-07-15 9:17 ` Ohad Ben-Cohen
2012-05-30 8:36 ` [PATCH 1/2] remoteproc: maintain a generic child device for each rproc Stephen Boyd
2012-05-30 12:16 ` Ohad Ben-Cohen
2012-06-04 21:22 ` Stephen Boyd
2012-06-29 8:13 ` Ohad Ben-Cohen
2012-07-02 19:06 ` Stephen Boyd
2012-07-02 19:54 ` Ohad Ben-Cohen
2012-07-05 20:35 ` Stephen Boyd
2012-07-15 9:12 ` Ohad Ben-Cohen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120702085911.GA16639@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).