Code cleanup/refactor.

Fix some code to follow the style guide.
Make it easier to have devices that have an soc and aux
temp but not a hard disk.

Change-Id: I1db6ee777150bb620d98f774913dd08f09768bd2
6 files changed