<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/thermal/cpu_cooling.c, branch linux-3.11.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.11.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.11.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-05-28T06:49:31Z</updated>
<entry>
<title>thermal: cpu_cooling: fix 'descend' check in get_property()</title>
<updated>2013-05-28T06:49:31Z</updated>
<author>
<name>Shawn Guo</name>
</author>
<published>2013-05-28T06:22:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=24c7a381720843f17efb42de81f7e85aefd6f616'/>
<id>urn:sha1:24c7a381720843f17efb42de81f7e85aefd6f616</id>
<content type='text'>
The variable 'descend' is initialized as -1 in function get_property(),
and will never get any chance to be updated by the following code.

	if (freq != CPUFREQ_ENTRY_INVALID &amp;&amp; descend != -1)
		descend = !!(freq &gt; table[i].frequency);

This makes function get_property() return the wrong frequency for given
cooling level if the frequency table is sorted in ascending.  Fix it
by correcting the 'descend' check in if-condition to 'descend == -1'.

Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
</content>
</entry>
<entry>
<title>thermal: cpu_cooling: alignment improvements</title>
<updated>2013-04-27T01:25:55Z</updated>
<author>
<name>Eduardo Valentin</name>
</author>
<published>2013-04-17T17:12:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5fda7f680a44c65ce44fbe37f254b8a82f49d241'/>
<id>urn:sha1:5fda7f680a44c65ce44fbe37f254b8a82f49d241</id>
<content type='text'>
Improve code readiness by changing alignments so that
they match open parenthesis, like checkpatch.pl --strict
suggests.

Signed-off-by: Eduardo Valentin &lt;eduardo.valentin@ti.com&gt;
Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
</content>
</entry>
<entry>
<title>thermal: cpu_cooling: remove checkpatch.pl warning</title>
<updated>2013-04-27T01:25:51Z</updated>
<author>
<name>Eduardo Valentin</name>
</author>
<published>2013-04-17T17:12:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ef5e2124ec3d54182bd826411d864e0e28fc00d4'/>
<id>urn:sha1:ef5e2124ec3d54182bd826411d864e0e28fc00d4</id>
<content type='text'>
Simple code style fix.

Signed-off-by: Eduardo Valentin &lt;eduardo.valentin@ti.com&gt;
Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
</content>
</entry>
<entry>
<title>thermal: cpu_cooling: remove trailing blank line</title>
<updated>2013-04-27T01:25:47Z</updated>
<author>
<name>Eduardo Valentin</name>
</author>
<published>2013-04-17T17:12:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e45a6430025811c9ffc8932389adf5912f8ba4fd'/>
<id>urn:sha1:e45a6430025811c9ffc8932389adf5912f8ba4fd</id>
<content type='text'>
Remove unnecessary blank line.

Signed-off-by: Eduardo Valentin &lt;eduardo.valentin@ti.com&gt;
Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
</content>
</entry>
<entry>
<title>thermal: cpu_cooling: align on open parenthesis</title>
<updated>2013-04-27T01:25:43Z</updated>
<author>
<name>Eduardo Valentin</name>
</author>
<published>2013-04-17T17:12:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d8892a01b13c8ea3ad74fb0c56beb96e92a2c65e'/>
<id>urn:sha1:d8892a01b13c8ea3ad74fb0c56beb96e92a2c65e</id>
<content type='text'>
Improve code readiness by remove checkpatch.pl warnings
on get_property function.

Signed-off-by: Eduardo Valentin &lt;eduardo.valentin@ti.com&gt;
Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
</content>
</entry>
<entry>
<title>thermal: cpu_cooling: standardize comment style</title>
<updated>2013-04-27T01:25:38Z</updated>
<author>
<name>Eduardo Valentin</name>
</author>
<published>2013-04-17T17:12:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1b9e35265903c2e0e484dc224e8f7de506e3353f'/>
<id>urn:sha1:1b9e35265903c2e0e484dc224e8f7de506e3353f</id>
<content type='text'>
There are at least three patterns for oneline comments in this
file. This patch changes them to one single pattern

Signed-off-by: Eduardo Valentin &lt;eduardo.valentin@ti.com&gt;
Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
</content>
</entry>
<entry>
<title>thermal: cpu_cooling: standardize end of function</title>
<updated>2013-04-27T01:25:32Z</updated>
<author>
<name>Eduardo Valentin</name>
</author>
<published>2013-04-17T17:11:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=79491e53dcd73175473e3293a574f5e006b468be'/>
<id>urn:sha1:79491e53dcd73175473e3293a574f5e006b468be</id>
<content type='text'>
Just for code readiness, this patch makes all functions
on this file to have a blank line before their returns.
Now, some functions follow this pattern, and others will
not have a blank line. So, this patch makes it a single
pattern.

Signed-off-by: Eduardo Valentin &lt;eduardo.valentin@ti.com&gt;
Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
</content>
</entry>
<entry>
<title>thermal: cpu_cooling: remove trailing white spaces</title>
<updated>2013-04-27T01:25:24Z</updated>
<author>
<name>Eduardo Valentin</name>
</author>
<published>2013-04-17T17:11:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=79d264016ac011b74497b553022d2fc45bf9d9f2'/>
<id>urn:sha1:79d264016ac011b74497b553022d2fc45bf9d9f2</id>
<content type='text'>
Remove unnecessary white spaces.

Signed-off-by: Eduardo Valentin &lt;eduardo.valentin@ti.com&gt;
Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
</content>
</entry>
<entry>
<title>thermal: cpu_cooling: remove unused symbols</title>
<updated>2013-04-24T16:34:44Z</updated>
<author>
<name>Eduardo Valentin</name>
</author>
<published>2013-04-17T17:12:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=67d0b2a8267caa4e653714bec79013fa6b7dd508'/>
<id>urn:sha1:67d0b2a8267caa4e653714bec79013fa6b7dd508</id>
<content type='text'>
The list is not needed so far. Thus removing it.

Signed-off-by: Eduardo Valentin &lt;eduardo.valentin@ti.com&gt;
Acked-by: Amit Daniel Kachhap &lt;amit.daniel@samsung.com&gt;
Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
</content>
</entry>
<entry>
<title>thermal: cpu_cooling: remove not needed curl brackets</title>
<updated>2013-04-24T16:34:43Z</updated>
<author>
<name>Eduardo Valentin</name>
</author>
<published>2013-04-17T17:12:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2d9bf71c12be9caadd9a8276a78f3a3df8e9e852'/>
<id>urn:sha1:2d9bf71c12be9caadd9a8276a78f3a3df8e9e852</id>
<content type='text'>
Just for style purposes, remove extra curl brackets.

Signed-off-by: Eduardo Valentin &lt;eduardo.valentin@ti.com&gt;
Acked-by: Amit Daniel Kachhap &lt;amit.daniel@samsung.com&gt;
Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
</content>
</entry>
</feed>
