power: Fix a few compiler warnings

* And unify styling a little bit

Change-Id: I7f9bb43a534e352fdd7693ff975749864f8addb3
3 files changed