commit | ffe0b515496df8ca2acc3c9a3ecda413f1947e74 | [log] [tgz] |
---|---|---|
author | Anurag Singh <anursing@codeaurora.org> | Wed Nov 21 15:15:56 2012 -0800 |
committer | Anurag Singh <anursing@codeaurora.org> | Wed Mar 27 19:20:30 2013 -0700 |
tree | ddfea5345ea7c2c5f2d27f8f4dc7507fb90a9225 | |
parent | 534a2f3e5b04c24c607b4a51769a6adafeb9f4ef [diff] |
power: Use a constructor for initialization. Perform initialization (or cleanup) in a special constructor (or destructor) function that gets invoked when the power HAL library is loaded (or unloaded). Remove code that is made redundant by doing this. Also remove other parts of the code which are no longer used. Change-Id: I6a08c998c32fb57d0c7975bc814f7d87cd1104d1