hlte: Clean up warnings in DT

Change-Id: If64b28b708ce9498164cefcd0ba21df8044c4636
use of swp{b} is deprecated for ARMv6+
board-8974: enable ram console

by imoseyon
fix build warnings
kernel: cleanup

Signed-off-by: LaboDJ <jacopolabardi@gmail.com>
compilation: fix up for mismatched type for system_rev

Signed-off-by: Paul Reioux <reioux@gmail.com>
support for gcc 4.9
make it compile with CPU_FREQ_LIMIT and SEC_DEBUG disabled
cpufreq: interactive: fix compiling warnings

The gcc warns like:

  cpufreq_interactive.c:745:6: warning: operation on 'ret' may be undefined [-Wsequence-point]

It was introduced by commit cf0fad49d17cb8273ce555dd5b7afab67d7923bf.

Since sprintf(...) just return 1 (one character) in this case, ret should not changed.
Just discarding the result of sprintf(...) leads to the result that
the committer of cf0fad49d17cb8273ce555dd5b7afab67d7923bf wants.

Change-Id: Ifed1cef6d6a31c3ed23dad03a567b3b9eddf3a57
Signed-off-by: Chih-Wei Huang <cwhuang@android-x86.org>
Git-commit: 0715d10b9e6c04327adb189e13ecd6a3c2df48ce
Git-Repo: https://android.googlesource.com/kernel/common.git
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
cpufreq: force cpuN policy to match cpu0 when changing freq or gov
mdnie lite control: add initial control interface (version 1.3)

Version 1.3: updated sysfs interface
Version 1.2: fixed compatibility with samsung NA6 (kitkat) source.

available channels:
[/sys/class/mdnie/mdnie/*]
(* = red, green, blue, cyan, magenta, yellow, white, black)

set values for each channel:
[echo x y z > /sys/class/mdnie/mdnie/red]
(x = red; y = green; z = blue)
- range: 0-255

control for "sharpen" effect:
[echo x > /sys/class/mdnie/mdnie/sharpen]
- range: 0-11

override for all samsung modes and profiles:
[echo x > /sys/class/mdnie/mdnie/override]
- 0 = disabled
- 1 = enabled

copy color profile from existing mdnie profile:
[echo x > /sys/class/mdnie/mdnie/copy_mode]
- 0 = Standard
- 1 = Natural
- 2 = Movie

copy gamma curve from existing mdnie profile:
[echo x > /sys/class/mdnie/mdnie/gamma_curve]
- 0 = Movie
- 1 = Dynamic

Idea based on (mDNIe colour and brightness control) by AndreiLux.
Thanks to Yank555.lu for his hijack and mode copy implementation.

Signed-off-by: Wootever <Wootever@users.noreply.github.com>