<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/regulator/max8660.c, branch linux-4.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-07-14T17:53:01Z</updated>
<entry>
<title>regulator: drivers: Drop owner assignment from i2c_driver</title>
<updated>2015-07-14T17:53:01Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2015-07-10T05:44:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a807a6cc29115a9a43c168fc0d4540b3d9284815'/>
<id>urn:sha1:a807a6cc29115a9a43c168fc0d4540b3d9284815</id>
<content type='text'>
i2c_driver does not need to set an owner because i2c_register_driver()
will set it.

Signed-off-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: max8660: Handle empty regulator data</title>
<updated>2015-04-10T17:17:53Z</updated>
<author>
<name>Markus Pargmann</name>
</author>
<published>2015-04-10T13:23:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c0cf5a59fb69527151eb8e332a1b9660200f66c6'/>
<id>urn:sha1:c0cf5a59fb69527151eb8e332a1b9660200f66c6</id>
<content type='text'>
It is not necessary to have regulator init data for a regulator. This
patch removes the necessity of this data and handles a NULL pointer
properly.

Signed-off-by: Markus Pargmann &lt;mpa@pengutronix.de&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: max8660: fix assignment of pdata to data that becomes dead</title>
<updated>2015-04-08T11:01:10Z</updated>
<author>
<name>Colin Ian King</name>
</author>
<published>2015-04-07T22:06:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dfb85ba1140ab649f6f0bf3e502ac37c0f69dbcb'/>
<id>urn:sha1:dfb85ba1140ab649f6f0bf3e502ac37c0f69dbcb</id>
<content type='text'>
pdata is assigned to &amp;pdata_of, however, pdata_of becomes dead (when it
goes out of scope) so pdata effectively becomes a dead pointer to the
out of scope object.  This is detected by static analysis:

[drivers/regulator/max8660.c:411]: (error) Dead pointer usage.
  Pointer 'pdata' is dead if it has been assigned '&amp;pdata_of' at line 404.

Move declaration of pdata_of so it is always in scope.

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: max8660: zero-initialize regulator match table array</title>
<updated>2014-11-03T15:55:53Z</updated>
<author>
<name>Javier Martinez Canillas</name>
</author>
<published>2014-11-03T14:40:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c9889803e3ba635d4517cb9e366218c9895f8d24'/>
<id>urn:sha1:c9889803e3ba635d4517cb9e366218c9895f8d24</id>
<content type='text'>
The struct of_regulator_match rmatch[] is declared as a non-static local
variable so the structure members are not auto-initialized.

Initialize the array at declaration time to avoid the structure members
values to be indeterminate and have sane defaults instead.

Signed-off-by: Javier Martinez Canillas &lt;javier.martinez@collabora.co.uk&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: max8660: Fix brace alignment</title>
<updated>2014-03-19T12:47:06Z</updated>
<author>
<name>Sachin Kamat</name>
</author>
<published>2014-03-19T12:32:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dda5e36b1c4a196ab55479a1a68e13e52c642d8b'/>
<id>urn:sha1:dda5e36b1c4a196ab55479a1a68e13e52c642d8b</id>
<content type='text'>
Move the "};" to next line as is the general coding practice.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>regulator: max8660: Silence checkpatch warnings</title>
<updated>2014-03-18T12:38:56Z</updated>
<author>
<name>Sachin Kamat</name>
</author>
<published>2014-03-18T10:23:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f920ec798180899fff278973d174d78445d7e7ab'/>
<id>urn:sha1:f920ec798180899fff278973d174d78445d7e7ab</id>
<content type='text'>
Silences the following type of error/warnings:
ERROR: that open brace { should be on the previous line
WARNING: Missing a blank line after declarations

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>regulator: max8660: Remove regulator_dev pointer from state container</title>
<updated>2014-03-10T09:46:28Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2014-03-10T09:37:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=67f76a935f303a82fa94b5bdc0af3cbb7d4971f9'/>
<id>urn:sha1:67f76a935f303a82fa94b5bdc0af3cbb7d4971f9</id>
<content type='text'>
Don't store pointer to regulator_dev returned by
devm_regulator_register() in state container. It isn't used anywhere
outside of max8660_probe() function.

Signed-off-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>regulator: max8660: Add missing of_node_put</title>
<updated>2014-02-18T02:02:08Z</updated>
<author>
<name>Sachin Kamat</name>
</author>
<published>2014-02-17T09:03:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cde248f92fea058bdc8be33f39c04e0651b5036e'/>
<id>urn:sha1:cde248f92fea058bdc8be33f39c04e0651b5036e</id>
<content type='text'>
Add of_node_put to decrement the ref count.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>regulator: max8660: Use of_get_child_by_name</title>
<updated>2014-02-14T21:09:32Z</updated>
<author>
<name>Sachin Kamat</name>
</author>
<published>2014-02-14T11:49:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=826adb490098a3c86e8f7e52906f58a0b628d515'/>
<id>urn:sha1:826adb490098a3c86e8f7e52906f58a0b628d515</id>
<content type='text'>
of_find_node_by_name walks the allnodes list, and can thus walk
outside of the parent node. Use of_get_child_by_name instead.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>regulator: max8660: Use devm_regulator_register</title>
<updated>2013-09-16T23:28:41Z</updated>
<author>
<name>Sachin Kamat</name>
</author>
<published>2013-09-04T05:37:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dcfb6b56f18b5d9eff9b784d4e5b4a085f149de2'/>
<id>urn:sha1:dcfb6b56f18b5d9eff9b784d4e5b4a085f149de2</id>
<content type='text'>
devm_* simplifies the code.

[Fixups from rebase onto v3.12 code -- broonie]
Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
</feed>
