<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/regulator/devres.c, branch v4.14</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.14</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.14'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2017-02-04T10:37:25Z</updated>
<entry>
<title>regulator: core: optimize devm_regulator_bulk_get()</title>
<updated>2017-02-04T10:37:25Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2017-02-03T23:16:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3eaeb4756336ad884a2a8eef3ca9e12845fb5391'/>
<id>urn:sha1:3eaeb4756336ad884a2a8eef3ca9e12845fb5391</id>
<content type='text'>
When performing this bulk operation, there is no need to track every supply
individually. It is more efficient to treat entire group as a single
managed resource.

Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: core: have _regulator_get() accept get_type argument</title>
<updated>2017-02-04T10:31:52Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2017-02-03T21:56:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a8bd42a97741aefa5942605fa87418fc8a6c4169'/>
<id>urn:sha1:a8bd42a97741aefa5942605fa87418fc8a6c4169</id>
<content type='text'>
Instead of separate "exclusive" and "allow_dummy" arguments, that formed 3
valid combinations (normal, exclusive and optional) and an invalid one,
let's accept explicit "get_type", like we did in devm-managed code.

Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: Remove support for optional supplies in the bulk API</title>
<updated>2016-08-16T19:00:44Z</updated>
<author>
<name>Bjorn Andersson</name>
<email>bjorn.andersson@linaro.org</email>
</author>
<published>2016-08-16T18:50:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=565f9b073f37e5cb6f80ad0ad71ec1144f87fd9f'/>
<id>urn:sha1:565f9b073f37e5cb6f80ad0ad71ec1144f87fd9f</id>
<content type='text'>
The patch was based on my missinterpretation of the API and only
accidentally worked for me. Let's clean it out to not confuse others.

This reverts commit 3ff3f518a135fa4592fe2817e9ac2cce1fa23dc2.

Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: Make bulk API support optional supplies</title>
<updated>2015-11-17T18:54:07Z</updated>
<author>
<name>Bjorn Andersson</name>
<email>bjorn.andersson@sonymobile.com</email>
</author>
<published>2015-11-10T06:20:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3ff3f518a135fa4592fe2817e9ac2cce1fa23dc2'/>
<id>urn:sha1:3ff3f518a135fa4592fe2817e9ac2cce1fa23dc2</id>
<content type='text'>
Make it possible to use the bulk API with optional supplies, by allowing
the consumer to marking supplies as optional in the regulator_bulk_data.

Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@sonymobile.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: core: Add devres versions of notifier registration</title>
<updated>2015-03-05T16:42:14Z</updated>
<author>
<name>Charles Keepax</name>
<email>ckeepax@gmail.com</email>
</author>
<published>2015-03-05T15:39:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=046db763aaaeb987ea01ea8c7e6d618e0ad1e6b8'/>
<id>urn:sha1:046db763aaaeb987ea01ea8c7e6d618e0ad1e6b8</id>
<content type='text'>
Add devm_regulator_register_notifier, this adds the resource against the
device for the consumer supply we are registering the notifier for. There
seem to be few use-cases where this wouldn't be the users intention and
this ensures the notifiers will always be removed at the correct time.

Signed-off-by: Charles Keepax &lt;ckeepax@opensource.wolfsonmicro.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: Constify the pointer to alias name array</title>
<updated>2014-05-23T17:55:23Z</updated>
<author>
<name>Lee Jones</name>
<email>lee.jones@linaro.org</email>
</author>
<published>2014-05-23T15:44:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9f8c0fe9542141fd0008d5c0f6ae365890f6da94'/>
<id>urn:sha1:9f8c0fe9542141fd0008d5c0f6ae365890f6da94</id>
<content type='text'>
Toughen-up checks for read-only regulator names.

Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>regulator: core: Add ability to create a lookup alias for supply</title>
<updated>2013-10-17T23:56:05Z</updated>
<author>
<name>Charles Keepax</name>
<email>ckeepax@opensource.wolfsonmicro.com</email>
</author>
<published>2013-10-15T19:14:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a06ccd9c3785fa5550917ae036944f4e080b5749'/>
<id>urn:sha1:a06ccd9c3785fa5550917ae036944f4e080b5749</id>
<content type='text'>
These patches add the ability to create an alternative device on which
a lookup for a certain supply should be conducted.

A common use-case for this would be devices that are logically
represented as a collection of drivers within Linux but are are
presented as a single device from device tree. It this case it is
necessary for each sub device to locate their supply data on the main
device.

Signed-off-by: Charles Keepax &lt;ckeepax@opensource.wolfsonmicro.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>regulator: core: Split devres code out into a separate file</title>
<updated>2013-09-16T23:28:45Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@linaro.org</email>
</author>
<published>2013-09-11T12:15:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0cdfcc0f9352a4c076fbb51299e2b12a35619a51'/>
<id>urn:sha1:0cdfcc0f9352a4c076fbb51299e2b12a35619a51</id>
<content type='text'>
Cut down on the size of core.c a bit more and ensure that the devres
versions of things don't do too much peering inside the internals of
the APIs they wrap.

Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
</feed>
