linux-mips
[Top] [All Lists]

Re: [PATCH v7 4/5] clk: Add common __clk_get(), __clk_put() imple

To: Sylwester Nawrocki <s.nawrocki@samsung.com>
Subject: Re: [PATCH v7 4/5] clk: Add common __clk_get(), __clk_put() implementations
From: Russell King - ARM Linux <linux@arm.linux.org.uk>
Date: Wed, 30 Oct 2013 00:19:25 +0000
Cc: linux-arm-kernel@lists.infradead.org, mturquette@linaro.org, jiada_wang@mentor.com, kyungmin.park@samsung.com, laurent.pinchart@ideasonboard.com, linux-kernel@vger.kernel.org, uclinux-dist-devel@blackfin.uclinux.org, linux-mips@linux-mips.org, linux-sh@vger.kernel.org
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=arm.linux.org.uk; s=caramon; h=Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=CsHao1vUnf8TSMiZSkBybdaOYsZv8W54GiHHDuxyok4=; b=aotF7+5hcEAZyOC88xav3kBAZsSBVePzXPZMuhChZP/cufgaCHiBkAiipN2zce5J/hnO1do5ze+nAqPqX3U6xr+4j67nFKBr4FBvHqoNzao9h441+L71ZAoFKo2mfjQxHlZ+8HpmpfpFWEI3r0tXaqnAX08xxz/oMXVqs9pMhcQ=;
In-reply-to: <1383076268-8984-5-git-send-email-s.nawrocki@samsung.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1383076268-8984-1-git-send-email-s.nawrocki@samsung.com> <1383076268-8984-5-git-send-email-s.nawrocki@samsung.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.19 (2009-01-05)
On Tue, Oct 29, 2013 at 08:51:07PM +0100, Sylwester Nawrocki wrote:
> This patch adds common __clk_get(), __clk_put() clkdev helpers that
> replace their platform specific counterparts when the common clock
> API is used.
> 
> The owner module pointer field is added to struct clk so a reference
> to the clock supplier module can be taken by the clock consumers.
> 
> The owner module is assigned while the clock is being registered,
> in functions _clk_register() and __clk_register().
> 
> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>

Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>

<Prev in Thread] Current Thread [Next in Thread>