Commit 3a5f5b2e authored by Cristian Ardelean's avatar Cristian Ardelean Committed by Rafael J. Wysocki
Browse files

cpufreq: integrator: fixed coding style issues



Fixed coding style issues found by checkpatch.pl tool. Changed
space indentation to tab, removed unneccesary braces, removed
space between MODULE macros and parentheses.

REMARKS: failed to 'make' this file with error message
'fatal error: asm/mach-types.h: No such file or directory'.

Signed-off-by: default avatarCristian Ardelean <cristian97.ardelean@gmail.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 8cfcfd39
Loading
Loading
Loading
Loading
+8 −10
Original line number Diff line number Diff line
@@ -98,11 +98,10 @@ static int integrator_set_target(struct cpufreq_policy *policy,
	/* get current setting */
	cm_osc = __raw_readl(cm_base + INTEGRATOR_HDR_OSC_OFFSET);

	if (machine_is_integrator()) {
	if (machine_is_integrator())
		vco.s = (cm_osc >> 8) & 7;
	} else if (machine_is_cintegrator()) {
	else if (machine_is_cintegrator())
		vco.s = 1;
	}
	vco.v = cm_osc & 255;
	vco.r = 22;
	freqs.old = icst_hz(&cclk_params, vco) / 1000;
@@ -163,11 +162,10 @@ static unsigned int integrator_get(unsigned int cpu)
	/* detect memory etc. */
	cm_osc = __raw_readl(cm_base + INTEGRATOR_HDR_OSC_OFFSET);

	if (machine_is_integrator()) {
	if (machine_is_integrator())
		vco.s = (cm_osc >> 8) & 7;
	} else {
	else
		vco.s = 1;
	}
	vco.v = cm_osc & 255;
	vco.r = 22;