<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/i2c/i2c-core.c, branch linux-3.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.1.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.1.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-07-25T15:49:43Z</updated>
<entry>
<title>i2c: Allow i2c_add_numbered_adapter() to assign a bus id</title>
<updated>2011-07-25T15:49:43Z</updated>
<author>
<name>Grant Likely</name>
</author>
<published>2011-07-25T15:49:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=488bf314bf219c66922305a1a320950efa86662f'/>
<id>urn:sha1:488bf314bf219c66922305a1a320950efa86662f</id>
<content type='text'>
Currently, if an i2c bus driver supports both static and dynamic bus
ids, it needs to choose between calling i2c_add_numbered_adapter() and
i2c_add_adapter().  This patch makes i2c_add_numbered_adapter()
redirect to i2c_add_adapter() if the requested bus id is -1.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>i2c: Improve deprecation warnings</title>
<updated>2011-04-17T08:20:19Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2011-04-17T08:20:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a920ff41cb3d2b03da095c4fa1a11b71417ae2a4'/>
<id>urn:sha1:a920ff41cb3d2b03da095c4fa1a11b71417ae2a4</id>
<content type='text'>
When warning on the use of deprecated i2c_driver methods
attach_adapter and detach_adapter, mention the name of the driver
which needs to be updated.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>Fix common misspellings</title>
<updated>2011-03-31T14:26:23Z</updated>
<author>
<name>Lucas De Marchi</name>
</author>
<published>2011-03-31T01:57:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=25985edcedea6396277003854657b5f3cb31a628'/>
<id>urn:sha1:25985edcedea6396277003854657b5f3cb31a628</id>
<content type='text'>
Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
</content>
</entry>
<entry>
<title>i2c: Deprecate i2c_driver.attach_adapter and .detach_adapter</title>
<updated>2011-03-20T13:50:53Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2011-03-20T13:50:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fe6fc25857d293546bd400432cdb77866c797c9b'/>
<id>urn:sha1:fe6fc25857d293546bd400432cdb77866c797c9b</id>
<content type='text'>
The last legitimate user of i2c_driver.attach_adapter and
.detach_adapter is gone, so we can finally deprecate these callbacks.
The last few drivers which still use these will have to be updated to
make use of standard I2C device instantiation ways instead.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>i2c: Export i2c_for_each_dev</title>
<updated>2011-03-20T13:50:52Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2011-03-20T13:50:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7ae31482a8376fb0df3a0c5ff0677a92820c06b7'/>
<id>urn:sha1:7ae31482a8376fb0df3a0c5ff0677a92820c06b7</id>
<content type='text'>
Introduce i2c_for_each_dev(), an i2c device iterator with proper
locking for use by i2c-dev. This is needed so that we can get rid of
the attach_adapter and detach_adapter legacy callback functions.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>i2c: make i2c_get_adapter prototype clearer</title>
<updated>2011-03-20T13:50:52Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2011-03-20T13:50:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d735b34db30b7891ff76b552d18ecb0ce04a2bc2'/>
<id>urn:sha1:d735b34db30b7891ff76b552d18ecb0ce04a2bc2</id>
<content type='text'>
Rename the parameter of i2c_get_adapter() to "nr", to make it clear we
are passing an adapter number and not an adapter ID (which have gone
away by now.)

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>driver-core: remove conditionals around devicetree pointers</title>
<updated>2011-01-21T16:24:48Z</updated>
<author>
<name>Grant Likely</name>
</author>
<published>2011-01-21T16:24:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c9e358dfc4a8cb2227172ef77908c2e0ee17bcb9'/>
<id>urn:sha1:c9e358dfc4a8cb2227172ef77908c2e0ee17bcb9</id>
<content type='text'>
Having conditional around the of_match_table and the of_node pointers
turns out to make driver code use ugly #ifdef blocks.  Drop the
conditionals and remove the #ifdef blocks from the affected drivers.

Also tidy up minor whitespace issues within the same hunks.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>i2c: Encourage move to dev_pm_ops by warning on use of legacy methods</title>
<updated>2011-01-14T21:03:50Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2011-01-14T21:03:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f4e8db31a83ad019e9ae06edb9c2f89de66bc7b7'/>
<id>urn:sha1:f4e8db31a83ad019e9ae06edb9c2f89de66bc7b7</id>
<content type='text'>
Since the PM core wishes to transition away from the legacy suspend
and resume methods and since removing them makes using PM core features
like runtime PM much easier start warning when a driver is registered
using the legacy methods.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>i2c: Factor out runtime suspend checks from PM operations</title>
<updated>2011-01-14T21:03:49Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2011-01-14T21:03:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d529de2994880d345d7588f92d5a426f63089ba3'/>
<id>urn:sha1:d529de2994880d345d7588f92d5a426f63089ba3</id>
<content type='text'>
When devices use dev_pm_ops the I2C API is implementing standard functionality
for integration with runtime PM and for checking for the presence of a per
device op. The PM core provides pm_generic_ functions implementing this
behaviour - use them to reduce coupling with future PM updates.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>i2c: Unregister dummy devices last on adapter removal</title>
<updated>2011-01-14T21:03:49Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2011-01-14T21:03:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5219bf884b6e2b54e734ca1799b6f0014bb2b4b7'/>
<id>urn:sha1:5219bf884b6e2b54e734ca1799b6f0014bb2b4b7</id>
<content type='text'>
Remove real devices first and dummy devices last. This gives device
driver which instantiated dummy devices themselves a chance to clean
them up before we do.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Tested-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Cc: stable@kernel.org
</content>
</entry>
</feed>
