diff options
author | Benoit Cousson <b-cousson@ti.com> | 2010-05-20 12:31:09 -0600 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-05-20 12:31:09 -0600 |
commit | 4d3ae5a9a7b3685c6d260a82f4098145862b2cd3 (patch) | |
tree | cf0d2b1cd7c800acaad0e4003ad052c85b365ebc /arch/arm/mach-pxa/generic.h | |
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>
Diffstat (limited to 'arch/arm/mach-pxa/generic.h')
0 files changed, 0 insertions, 0 deletions