Backlight dimmer option

Signed-off-by: flar2 <asegaert@gmail.com>

Conflicts:
	drivers/video/msm/msm_fb.c
backlight_dimmer: a bit less dim and disable by default

Signed-off-by: flar2 <asegaert@gmail.com>

Conflicts:
	drivers/video/msm/msm_fb.c
adjustable brightness

Signed-off-by: flar2 <asegaert@gmail.com>

Conflicts:
	drivers/video/msm/msm_fb.c
fix typos

Signed-off-by: flar2 <asegaert@gmail.com>
disable by default

Signed-off-by: flar2 <asegaert@gmail.com>

Conflicts:
	drivers/video/msm/msm_fb.c
cpufreq: Break out early when frequency equals target_freq

Many drivers keep frequencies in frequency table in ascending
or descending order. When governor tries to change to policy->min
or policy->max respectively then the cpufreq_frequency_table_target
could return on first iteration. This will save some iteration cycles.

So, break out early when a frequency in cpufreq_frequency_table
equals to target one.

Testing this during kernel compilation using ondemand governor
with a frequency table in ascending order, the
cpufreq_frequency_table_target returned early on the first
iteration at about 30% of times called.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
cpufreq: Introduce new relation for freq selection
Introduce CPUFREQ_RELATION_C for frequency selection.
It selects the frequency with the minimum euclidean distance
to target. In case of equal distance between 2 frequencies,
it will select the greater freq.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>