LightsWrapper: Use hw_get_module_by_class

Change-Id: Ifc82afd4c10f28359134cbed73db2211c292d08f
CameraWrapper: Use hw_get_module_by_class

Change-Id: I796e9856b4a29770a8ed7ca02f8c3f2ae469830c
camera: clean up wrapper code

* Clean up formatting, warnings, style, logging, etc.

Change-Id: Ie0757befa341e209e2b552b42bffee6b52d8df0a
camera: Cleanup & remove compiler warnings

* Remove compiler warnings
* Use standard HAL API versions
* Remove unused import

Change-Id: I686c88e82a83072b9f392369960160e8ec345e30
camera: do not use GNU old-style field designators

Avoiding the use of GNU extensions improves portability

Change-Id: I2fd8ea9eebba75185533c4efed6cd6f4feeb0917
Merge pull request #4 from CyanogenMod/cm-11.0

Cm 11.0