Add frandom

Also trim trailing white spaces

Change-Id: I1c4aa54e3ee583ae0cd68a23f146a8070e1ce31a
defconfig: properly enable swap and zram

Change-Id: I7cc8ccf5c66e2e5d519db94f1943d1e6c2a85a02
Add new led logic.

This driver handles three different input modes:
- touchkey events (via function call)
- liblights buttons (via sysfs: led_button)
- liblights notifications (via sysfs: led_pattern)

Each of these input methods is handled indpendently.
The newest input always wins independent of the input mode.
But if you switch off via one of these modes only the previous
switch on of the corresponding mode is affected.

Example:
touchkey on    -> leds active
led_pattern on -> pattern is active
touchkey off   -> pattern stays active
led_button on  -> leds active
led_button off -> pattern is activated again

Change-Id: Idade31b9e7302eb0e924c44ff604990709842b1d
Improve ambient backlight sensor control.

Use the ALS values from the datasheet to improve the range of the
backlight levels. Remove the "optimized" version from LG.

Change-Id: I5ad27c23f784d8dfe4efc5726e1ee9a9b0682e41