OMAP2/3 powerdomain: return errors rather than returning the output of IS_ERR()
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 8 Dec 2009 23:33:13 +0000 (16:33 -0700)
committerpaul <paul@twilight.(none)>
Sat, 12 Dec 2009 00:00:41 +0000 (17:00 -0700)
commit1fda39e6fd13f9f74721d2127f27675a4a0878af
treea68c19473be41998d2f2316af438963cc5382d70
parent155a22ecd574c3e6a4c59e6a1bf0dd31ce23ff10
OMAP2/3 powerdomain: return errors rather than returning the output of IS_ERR()

IS_ERR returns only 1 or 0, and the functions return a negative error
in other cases anyways.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/powerdomain.c