[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK=WgbY3BbAN73k8yzNBXob2gkY2_sbhh9a_0yjvy=3Hy5wEbw@mail.gmail.com>
Date: Sun, 15 Jul 2012 13:10:05 +0300
From: Ohad Ben-Cohen <ohad@...ery.com>
To: Stephen Boyd <sboyd@...eaurora.org>
Cc: linux-kernel@...r.kernel.org, linux-omap@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
Fernando Guzman Lugo <fernando.lugo@...com>
Subject: Re: [PATCH 2/2] remoteproc: remove the now-redundant kref
On Mon, Jul 2, 2012 at 11:52 AM, Ohad Ben-Cohen <ohad@...ery.com> wrote:
> From 0fbf3004c1a52ae4c0554366409a2bfe401801ef Mon Sep 17 00:00:00 2001
> From: Ohad Ben-Cohen <ohad@...ery.com>
> Date: Mon, 2 Jul 2012 11:41:16 +0300
> Subject: [PATCH] remoteproc: simplify unregister/free interfaces
>
> 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.
>
> To create and register an rproc instance, one needed to invoke
> rproc_alloc() followed by rproc_register().
>
> To unregister and free an rproc instance, one now needs to invoke
> rproc_unregister() followed by rproc_free().
>
> Cc: Stephen Boyd <sboyd@...eaurora.org>
> Signed-off-by: Ohad Ben-Cohen <ohad@...ery.com>
> ---
> Documentation/remoteproc.txt | 21 ++++++++-------------
> drivers/remoteproc/omap_remoteproc.c | 5 ++++-
> drivers/remoteproc/remoteproc_core.c | 25 ++++++++-----------------
> 3 files changed, 20 insertions(+), 31 deletions(-)
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists