]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc9b8d7dadc14a7aa63d406312079ac8fd24ef59a
treea68c19473be41998d2f2316af438963cc5382d70
parentfa3b3e8a3c51cd3dbdf999ed6f259adddb164c64
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