summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx2/clock_imx21.c
diff options
context:
space:
mode:
authorBenoit Cousson <b-cousson@ti.com>2010-05-20 18:31:09 (GMT)
committerPaul Walmsley <paul@pwsan.com>2010-05-20 18:31:09 (GMT)
commit4d3ae5a9a7b3685c6d260a82f4098145862b2cd3 (patch)
treecf0d2b1cd7c800acaad0e4003ad052c85b365ebc /arch/arm/mach-mx2/clock_imx21.c
parent682fdc96f3afb5ec34e4893fae41d09346d656ed (diff)
downloadlinux-fsl-qoriq-4d3ae5a9a7b3685c6d260a82f4098145862b2cd3.tar.xz
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-mx2/clock_imx21.c')
0 files changed, 0 insertions, 0 deletions