Fix build for non lagan devices

Change-Id: I746b0c09f8929572b40bdfaf67364b6deae96449
Fix Bluetooth

Change-Id: Id0053f2aea6e9d086c88ec26aea783cd80da0240
Minor tweaks to platform

- Enable support for lowest backlight setting (not used by auto backlight)
- More tweaks to auto brightness scale
- Putting device in dock will use a permanent landscape instead of relying on accelerometer
- Flagged to platform that SD card can be removed with battery still in

Change-Id: I2d404182beb041aa628b46c5db6241295ce8af71
Split device.mk into phone and tablet variants

Was necessary to support a tablet mode, meaning that you have a
modem but no voice capabilities.

Has matching changes for sgp321, c5503, c6503 and c6603

Change-Id: I32ea57c9430cd7dce8a79bbcc5c67779b80f2ead
Make snd_soc_msm_2x and snd_soc_msm_2x_Fusion3 identical

This is useful for our non-telephony devices that dont
get identified as Fusion3.

Change-Id: I8d273308a6491869f56c76618890a4ea4b7ef4c1
Cleanup of how we make the device mk files

Less duplication = less chance of bugs

Change-Id: Ic470c218d2023b59fac8185c9faa00a2ac171ed2
The qdhwcomposer likes to access fb1/vendor/description

Change-Id: I422e3b3e08f62d7847e738693ca98b66671b790b
Give media access to the flash

We are not geting any uevents from bus/i2c so set
permissions here manually.

Change-Id: Ib5ec34e28826e8071498314aef2a6983f33087f4