OMAP3: PM: Don't do unnecessary searches in omap_sr_vdd*_autocomp_store
commita3b1d481270c9732683febf5846170e8da87eb5d
authorPhil Carmody <ext-phil.2.carmody@nokia.com>
Mon, 27 Apr 2009 16:26:24 +0000 (27 19:26 +0300)
committerKevin Hilman <khilman@deeprootsystems.com>
Fri, 23 Oct 2009 18:20:21 +0000 (23 11:20 -0700)
treead7090ed018703e10b6a812bb3e0cf2233f51535
parent7e11675ca5910d8485d13fa316f9ce94a1887105
OMAP3: PM: Don't do unnecessary searches in omap_sr_vdd*_autocomp_store

When setting to 0, we don't need to do searches for the resource by
its name. In the case where we do search, handle the error condition
cleanly.

Signed-off-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
arch/arm/mach-omap2/smartreflex.c