Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5fda7f68 authored by Eduardo Valentin's avatar Eduardo Valentin Committed by Zhang Rui
Browse files

thermal: cpu_cooling: alignment improvements



Improve code readiness by changing alignments so that
they match open parenthesis, like checkpatch.pl --strict
suggests.

Signed-off-by: default avatarEduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent ef5e2124
Loading
Loading
Loading
Loading
+9 −10
Original line number Original line Diff line number Diff line
@@ -425,8 +425,8 @@ static struct notifier_block thermal_cpufreq_notifier_block = {
 * Return: a valid struct thermal_cooling_device pointer on success,
 * Return: a valid struct thermal_cooling_device pointer on success,
 * on failure, it returns a corresponding ERR_PTR().
 * on failure, it returns a corresponding ERR_PTR().
 */
 */
struct thermal_cooling_device *cpufreq_cooling_register(
struct thermal_cooling_device *
	const struct cpumask *clip_cpus)
cpufreq_cooling_register(const struct cpumask *clip_cpus)
{
{
	struct thermal_cooling_device *cool_dev;
	struct thermal_cooling_device *cool_dev;
	struct cpufreq_cooling_device *cpufreq_dev = NULL;
	struct cpufreq_cooling_device *cpufreq_dev = NULL;
@@ -505,7 +505,6 @@ void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev)
	if (cpufreq_dev_count == 0)
	if (cpufreq_dev_count == 0)
		cpufreq_unregister_notifier(&thermal_cpufreq_notifier_block,
		cpufreq_unregister_notifier(&thermal_cpufreq_notifier_block,
					    CPUFREQ_POLICY_NOTIFIER);
					    CPUFREQ_POLICY_NOTIFIER);

	mutex_unlock(&cooling_cpufreq_lock);
	mutex_unlock(&cooling_cpufreq_lock);


	thermal_cooling_device_unregister(cpufreq_dev->cool_dev);
	thermal_cooling_device_unregister(cpufreq_dev->cool_dev);