OSDN Git Service

do not actually error out when there's no kernel power interface
authorBrian Swetland <swetland@google.com>
Sat, 4 Dec 2010 04:51:49 +0000 (20:51 -0800)
committerBrian Swetland <swetland@google.com>
Sat, 4 Dec 2010 04:51:49 +0000 (20:51 -0800)
commite686393f88fbbdffac46578a489cd9da0d46de33
treeddd304185d74e89c1265cd85b2b612fb4c304edc
parent6b422025155c59e3cfc2dbfe7fc4ddd37cca8476
do not actually error out when there's no kernel power interface

This allows the system to work on hardware that doesn't have PM
support (board bringup, etc) but has no ill effects on production
hardware.

Change-Id: I4e40ac92c6b4d08f2044224f80382934061ccc06
power/power.c