<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/i2c/i2c-dev.c, branch linux-2.6.16.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.16.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.16.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2006-01-06T06:16:26+00:00</updated>
<entry>
<title>[PATCH] i2c: drop empty i2c_driver.command implementations</title>
<updated>2006-01-06T06:16:26+00:00</updated>
<author>
<name>Laurent Riffard</name>
<email>laurent.riffard@free.fr</email>
</author>
<published>2005-12-18T15:49:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d564baee2984098c73fd0e55bc5c8a890878ef3b'/>
<id>urn:sha1:d564baee2984098c73fd0e55bc5c8a890878ef3b</id>
<content type='text'>
Given that implementing i2c_driver.command is optional, there is no
point in an empty implementation thereof.

Signed-off-by: Laurent Riffard &lt;laurent.riffard@free.fr&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Michael Geng &lt;linux@MichaelGeng.de&gt;
Cc: Petr Vandrovec &lt;vandrove@vc.cvut.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] I2C: move i2c-dev to use dynamic class devices</title>
<updated>2006-01-06T06:16:25+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2005-12-06T23:33:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=79472132f555ae1e912699e116e5c82f338872f6'/>
<id>urn:sha1:79472132f555ae1e912699e116e5c82f338872f6</id>
<content type='text'>
i2c-dev doesn't use the reference counting logic of struct class_device so move
it to the dynamic method.  This makes the code paths simpler and the driver
smaller.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Cc: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] I2C: Remove .owner setting from i2c_driver as it's no longer needed</title>
<updated>2006-01-06T06:16:25+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2005-12-06T23:33:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2b48716d1d2f2edb1e7cbc5ecf1cb2cb39373e33'/>
<id>urn:sha1:2b48716d1d2f2edb1e7cbc5ecf1cb2cb39373e33</id>
<content type='text'>
Now that i2c_add_driver() doesn't need the module owner to be set by
hand, we can delete it from the drivers.  This patch catches all of the
drivers that I found in the current tree (if a driver sets the .owner by
hand, it's not a problem, just not needed.)

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Cc: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] i2c: Drop i2c_driver.{owner,name}, 1 of 11</title>
<updated>2006-01-06T06:16:22+00:00</updated>
<author>
<name>Laurent Riffard</name>
<email>laurent.riffard@free.fr</email>
</author>
<published>2005-11-26T19:34:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=35d8b2e6b8e86b0d5126f36613b5202d4eb978b6'/>
<id>urn:sha1:35d8b2e6b8e86b0d5126f36613b5202d4eb978b6</id>
<content type='text'>
We should use the i2c_driver.driver's .name and .owner fields
instead of the i2c_driver's ones.

This patch updates the core of the i2c drivers: it removes .name and
.owner fields from the struct i2c_device and modify various
functions to use struct device fields instead.

Signed-off-by: Laurent Riffard &lt;laurent.riffard@free.fr&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] i2c: Drop i2c_driver.flags, 2 of 3</title>
<updated>2006-01-06T06:16:21+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2005-11-26T19:28:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8a9947552d43b0d20d5fa23ac0ba435d526be454'/>
<id>urn:sha1:8a9947552d43b0d20d5fa23ac0ba435d526be454</id>
<content type='text'>
Just about every i2c chip driver sets the I2C_DF_NOTIFY flag, so we
can simply make it the default and drop the flag. If any driver really
doesn't want to be notified when i2c adapters are added, that driver
can simply omit to set .attach_adapter. This approach is also more
robust as it prevents accidental NULL pointer dereferences.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Create platform_device.h to contain all the platform device details.</title>
<updated>2005-10-29T18:07:23+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk@dyn-67.arm.linux.org.uk</email>
</author>
<published>2005-10-29T18:07:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d052d1beff706920e82c5d55006b08e256b5df09'/>
<id>urn:sha1:d052d1beff706920e82c5d55006b08e256b5df09</id>
<content type='text'>
Convert everyone who uses platform_bus_type to include
linux/platform_device.h.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] I2C: remove devfs support from i2c-dev driver</title>
<updated>2005-10-28T21:02:14+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2005-10-21T22:23:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0dc9a32d9a975ccd25b9f531451165c93e1c7313'/>
<id>urn:sha1:0dc9a32d9a975ccd25b9f531451165c93e1c7313</id>
<content type='text'>
as devfs is gone, this isn't needed anymore.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] i2c: kzalloc conversion, other drivers</title>
<updated>2005-10-28T21:02:12+00:00</updated>
<author>
<name>Deepak Saxena</name>
<email>dsaxena@plexity.net</email>
</author>
<published>2005-10-17T21:09:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5263ebb51eb098b01caf229498c954999117e4a7'/>
<id>urn:sha1:5263ebb51eb098b01caf229498c954999117e4a7</id>
<content type='text'>
Use kzalloc instead of kmalloc+memset in all remaining i2c bus and
chip drivers.

Signed-off-by: Deepak Saxena &lt;dsaxena@plexity.net&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] i2c: Cleanup i2c-dev ioctl debug message</title>
<updated>2005-10-28T21:02:08+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2005-10-07T21:06:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e8aafcb2bba1fe122907161701a167e38174c7a5'/>
<id>urn:sha1:e8aafcb2bba1fe122907161701a167e38174c7a5</id>
<content type='text'>
Cleanup the ioctl debug message in i2c-dev. In particular, the minor
number is redundant now that the minor number and the adapter number
are kept in sync.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] I2C: Improve core debugging messages</title>
<updated>2005-09-05T16:14:16+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2005-07-31T17:02:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b6d7b3d1b5a388b7e9af2629a9ecccedee064078'/>
<id>urn:sha1:b6d7b3d1b5a388b7e9af2629a9ecccedee064078</id>
<content type='text'>
The debugging messages in i2c-core are more confusing than helpful. Some
lack their trailing newline, some lack a prefix, some are redundant,
some lack precious information. Here is my attempt to introduce some
standardization in there.

I also changed two messages in i2c-dev to make it clear they come from
i2c-dev.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
</feed>
