hlte: Clean up warnings in DT

Change-Id: If64b28b708ce9498164cefcd0ba21df8044c4636
use of swp{b} is deprecated for ARMv6+
make it compile with CPU_FREQ_LIMIT and SEC_DEBUG disabled
board-8974: enable ram console

by imoseyon
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>
fix build warnings
Linux 3.4.0 -> 3.4.93

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: Wootever <Wootever@users.noreply.github.com>
kernel: Fix all leaks and cleanup

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
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
sec_debug temp