commit | 4d3ae5a9a7b3685c6d260a82f4098145862b2cd3 | [log] [tgz] |
---|---|---|
author | Benoit Cousson <b-cousson@ti.com> | Thu May 20 12:31:09 2010 -0600 |
committer | Paul Walmsley <paul@pwsan.com> | Thu May 20 12:31:09 2010 -0600 |
tree | cf0d2b1cd7c800acaad0e4003ad052c85b365ebc | |
parent | 682fdc96f3afb5ec34e4893fae41d09346d656ed [diff] |
OMAP: hwmod: Remove IS_ERR check with omap_clk_get_by_name return value The previous clock API was returning a standard linux error code in case of failure. This is not the case anymore with the new omap_clk_get_by_name API. A NULL value means that the clock node does not exist. Replace all the IS_ERR check by a !clk check. Signed-off-by: Benoit Cousson <b-cousson@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>