cpufreq: Remove unnecessary initialization of a local variable

Remove an unnecessary initializer for the 'ret' variable in
__cpufreq_set_policy().

[rjw: Modified the subject and changelog slightly.]
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
cpufreq: Fix sparse warning by making local function static

cpufreq_disabled() is a local function, so should be marked static.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
cpufreq: return early from __cpufreq_driver_getavg()

There is no need to do cpufreq_get_cpu() and cpufreq_put_cpu() for drivers that
don't support getavg() routine.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
cpufreq / core: Fix typo in comment describing show_bios_limit()

show_bios_limit is mistakenly written as show_scaling_driver in a comment
describing purpose of show_bios_limit() routine.

Fix it.

Change-Id: Ib1612077eb1c5079f08de85fbf518bff8889520c
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
arch:arm: Fix Frame pointer and Arm Unwind Warnings

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
slub: Fix Warning

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
audit: Fix warning

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
fat: Fix following warning:

warning: 'de' may be used uninitialized in this function [-Wmaybe-uninitialized]

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
slimbus: Fix Warning

warning: 'tid' may be used uninitialized in this function [-Wmaybe-uninitialized]

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
net: Fix Warnings

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
camera: Ignore Warnings

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Drivers:crypto: Fix Warning

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
ftrace: Fix Leak

Change-Id: Id1e0c6ecd5ea545aedb4bdb8128ec2ca22fc485c
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>