Squashed update of BFQ-v6r1 to BFQ-v6r2
input: keyboard: cypress-touchkey: Some changes and code cleanup

- Use only one pointer to cypress_touchkey_devdata, instead of three
- Register the early suspend only when needed (CONFIG_HAS_EARLYSUSPEND)
- Removed unuseful code and commented code
- Code reindented for better readability
input: keyboard: cypress-touchkey: Customizable timeout for touchkeys backlight

This commit adds a sysfs customizable timeout parameter for the touchkeys backlight.
The parameter could be found at the following path:
/sys/class/misc/notification/bl_timeout
input: keyboard: cypress-touchkey: Manage the timeout of touchkeys backlight after a touchscreen press
input: keyboard: cypress-touchkey: Customizable activation status of touchkeys backlight on touchscreen press

This commit adds a sysfs customizable status parameter to enable/disable
the touchkeys backlight on a touchscreen press.
The parameter could be found at the following path:
/sys/class/misc/notification/touchlight_enabled
video: msm: lcdc_s6e63m0: Corrected an unmanaged gamma for autobrightness

Inside the "s6e63m0_set_elvss" method the management of GAMMA_20CD is missing inside the switch block:
case GAMMA_30CD ... GAMMA_100CD
should be
case GAMMA_20CD ... GAMMA_100CD

Have been corrected also some wrong comments.
video: msm: lcdc_s6e63m0: Set the DEFAULT_GAMMA_LEVEL from 160CD to 20CD

This fixes the high brightness for a sec when turning on the display
power: fuelgauge_max17043: Remove trailing spaces
power: ariesve_battery: Remove trailing spaces and some code cleanup
power: ariesve_battery: Fix charging to 100%

This change should allow to fully charge the batteries with wrong charging voltage limit.

Taken from SkyHigh Kernel - Major update to V1.4a:
https://github.com/skywalker01/Samsung-Galaxy-S-Plus/commit/85b68528602e9524d0741df050b77a552c69320c
fs: sync: Don't disable fdatasync()
Squashed update of kernel from 3.0.82 to 3.0.83
Updated default and custom configs
msm: kgsl: Always resume the GPU regardless of its state

Make sure we resume the GPU regardless of its current
state. If the device is not in suspend state restart the
device and  print an error message.

Change-Id: I9e71cbe27d360dc06513c54f3a734aaea5b10d2b
Signed-off-by: Suman Tatiraju <sumant@codeaurora.org>
cpufreq: interactive: fix race on cpufreq TRANSITION notifier

The cpufreq TRANSTION notifier callback does not check the
governor_enabled state on affected CPUS, which will case
kernel panic in update_load because the policy object maybe
NULL or invalid when governor_enabled is false.

Change-Id: Ie0f1718124f61e2f9b5da57abc6981ada5b83908
Signed-off-by: Lianwei Wang <a22439@motorola.com>
cpufreq: interactive: resched timer if max freq raised

When the policy max freq is raised, and before the timer is
rescheduled in idle callback, the cpu freq may stuck at a
lower freq.

The target_freq shall be updated too, else on a high load
situation, the new_freq is always equal to target_freq and
which will cause freq stuck at a lower freq too.

Reschedule the timer on gov limits callback.

Change-Id: I6c187001ab43e859731429b64f75a74eebc37a24
Signed-off-by: Lianwei Wang <a22439@motorola.com>
ancora: Don't register pmdh device