Revert "msm: camera: Fix various small issues in sensor driver"

This reverts commit e20fe15839e7031076b0222aeefdd4c1be7f28b4.

This commit breaks the front camera.
msm: kgsl: Add check for NULL value from dev_get_drvdata

Check to see if dev_get_drvdata returns NULL and handle it.

CRs-Fixed: 552580
Change-Id: Ic0dedbad426dbbe15896608213067ee7337f3b34
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>