hlte: Clean up warnings in DT

Change-Id: If64b28b708ce9498164cefcd0ba21df8044c4636
use of swp{b} is deprecated for ARMv6+
fix build warnings
support for gcc 4.9
compilation: fix up for mismatched type for system_rev

Signed-off-by: Paul Reioux <reioux@gmail.com>
board-8974: enable ram console

by imoseyon
scripts: Do not append plus character if dirty
make it compile with CPU_FREQ_LIMIT and SEC_DEBUG disabled
Fix this warning by removing a unneeded use of defined

TIMEC   kernel/timeconst.h
defined(@array) is deprecated at kernel/timeconst.pl line 373.
  	(Maybe you should just omit the defined()?)

Signed-off-by: Peter Foley <pefoley2@verizon.net>
This fixes a warning saying:

    warning: #warning "TODO: return_address should use unwind tables"

And, this enables return_address using unwind information. If ARM_UNWIND is
selected, unwind_frame in unwind.c will be called in walk_stackframe.

Signed-off-by: sahara <keun-o.park@windriver.com>
log: quiet please
drivers: cpuidle: sync
msm_thermal: small cleanup
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>
msm: mdss: Adding lcd notifier

Supports notifier for start&end of LCD power on&off

Change-Id: Idaa685a2c554286da5f764519305d830c4d1a1bd
Signed-off-by: Se Hun Kim <sean2.kim@lge.com>
Signed-off-by: Jongrak Kwon <jongrak.kwon@lge.com>
Signed-off-by: Devin Kim <dojip.kim@lge.com>
msm: hotplug: Add MSM Hotplug driver

- msm: hotplug: Check down lock for lowest load cpu
cpufreq: Optimize cpufreq_frequency_table_verify()

cpufreq_frequency_table_verify() is rewritten here to make it more logical
and efficient.
 - merge multiple lines for variable declarations together.
 - quit early if any frequency between min/max is found.
 - don't call cpufreq_verify_within_limits() in case any valid freq is
   found as it is of no use.
 - rename the count variable as found and change its type to boolean.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
cpufreq: add new routine cpufreq_verify_within_cpu_limits()

Most of the users of cpufreq_verify_within_limits() calls it for
limiting with min/max from policy->cpuinfo. We can make that code
simple by introducing another routine which will do this for them
automatically.

This patch adds another routine cpufreq_verify_within_cpu_limits()
and updates others to use it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

Conflicts:
	arch/arm/mach-msm/msm_hotplug.c
cpufreq: sync with caf
msm: msm_rq_stats: remove is_smp() API

is_smp() API is unavailable on few target codes.
Until this API is defined use CONFIG_SMP to know
whether target supports SPM are not.

CRs-fixed: 579034
Change-Id: I5bd5c208b18aae27d7f36e77e9d5b38639c2c00e
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>