Thread (28 messages) flat view 28 messages, 9 authors, 2012-10-05
STALE5094d

[PATCH v4 2/3] ARM: omap: hwmod: get rid of all omap_clk_get_by_name usage

From: Rajendra Nayak <hidden>
Date: 2012-08-30 08:37:37
Also in: linux-omap

On Thursday 30 August 2012 05:38 AM, Russell King - ARM Linux wrote:
On Wed, Aug 29, 2012 at 02:26:15PM +0530, Rajendra Nayak wrote:
quoted
Moving to Common clk framework for OMAP would mean we no longer use
internal lookup mechanism like omap_clk_get_by_name().
get rid of all its usage mostly from hwmod and omap_device
code.

Also use IS_ERR_OR_NULL() for error checking.
This is wrong.  IS_ERR() is the only check you should ever use with clk_get().
okay, thanks, will fix.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help