<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/i2c/chips/rtc8564.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:25+00:00</updated>
<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}, 2 of 11</title>
<updated>2006-01-06T06:16:23+00:00</updated>
<author>
<name>Laurent Riffard</name>
<email>laurent.riffard@free.fr</email>
</author>
<published>2005-11-26T19:36:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a9718b0c1154dcbd955be6aaee47a314cde6a25a'/>
<id>urn:sha1:a9718b0c1154dcbd955be6aaee47a314cde6a25a</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 miscellaneaous i2c chip drivers.

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: Rework client usage count, 2 of 3</title>
<updated>2006-01-06T06:16:22+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2005-11-26T20:00:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=cde7859bda0d1124392b44e50aa11df99707e1d9'/>
<id>urn:sha1:cde7859bda0d1124392b44e50aa11df99707e1d9</id>
<content type='text'>
Make I2C_CLIENT_ALLOW_USE the default for all i2c clients. It doesn't
hurt if the usage count is actually never used for any given driver,
and allows for nice code simplifications in i2c-core.

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>[PATCH] i2c: Remove duplicate rtc8564 BCD macros</title>
<updated>2006-01-06T06:16:21+00:00</updated>
<author>
<name>Nicolas Kaiser</name>
<email>nikai@nikai.net</email>
</author>
<published>2005-11-26T19:15:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7e94436942a7517d08c0cd1a8831122a0fea289e'/>
<id>urn:sha1:7e94436942a7517d08c0cd1a8831122a0fea289e</id>
<content type='text'>
Remove duplicate of BCD macros.

Signed-off-by: Nicolas Kaiser &lt;nikai@nikai.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: 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: Drop meaningless use of I2C_DF_NOTIFY in i2c_client structures</title>
<updated>2005-10-28T21:02:10+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2005-10-07T22:19:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=00bffb6e29c5ef12cea7904905f8b959187076c9'/>
<id>urn:sha1:00bffb6e29c5ef12cea7904905f8b959187076c9</id>
<content type='text'>
I2C_DF_NOTIFY is an i2c_driver flag, using it as an i2c_client flag
doesn't make any sense.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Acked-by: Mark A. Greer &lt;mgreer@mvista.com&gt;
Acked-by: Randy Vinson &lt;rvinson@mvista.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] hwmon: hwmon vs i2c, second round (01/11)</title>
<updated>2005-09-05T16:14:18+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2005-07-31T19:20:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9fc6adfa9adf2be84119a3c2592287f33bd1dff2'/>
<id>urn:sha1:9fc6adfa9adf2be84119a3c2592287f33bd1dff2</id>
<content type='text'>
Add support for kind-forced addresses to i2c_probe, like i2c_detect
has for (essentially) hardware monitoring drivers.

Note that this change will slightly increase the size of the drivers
using I2C_CLIENT_INSMOD, with no immediate benefit. This is a
requirement if we want to merge i2c_probe and i2c_detect though, and
seems a reasonable price to pay in comparison with the previous
cleanups which saved much more than that (such as the i2c-isa cleanup
or the i2c address ranges removal.)

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: rtc8564.c remove duplicate include</title>
<updated>2005-06-22T04:51:49+00:00</updated>
<author>
<name>Clemens Koller</name>
<email>clemens.koller@anagramm.de</email>
</author>
<published>2005-04-11T09:49:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=792f156d61d327671f58829dc04ad5609152e393'/>
<id>urn:sha1:792f156d61d327671f58829dc04ad5609152e393</id>
<content type='text'>
[PATCH] I2C rtc8564.c remove duplicate include

Trivial fix: removes duplicate include line.

Signed-off-by: Clemens Koller &lt;clemens.koller@anagramm.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers</title>
<updated>2005-06-22T04:51:48+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2005-04-02T18:31:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b3d5496ea5915fa4848fe307af9f7097f312e932'/>
<id>urn:sha1:b3d5496ea5915fa4848fe307af9f7097f312e932</id>
<content type='text'>
Some months ago, you killed the address ranges mechanism from all
sensors i2c chip drivers (both the module parameters and the in-code
address lists). I think it was a very good move, as the ranges can
easily be replaced by individual addresses, and this allowed for
significant cleanups in the i2c core (let alone the impressive size
shrink for all these drivers).

Unfortunately you did not do the same for non-sensors i2c chip drivers.
These need the address ranges even less, so we could get rid of the
ranges here as well for another significant i2c core cleanup. Here comes
a patch which does just that. Since the process is exactly the same as
what you did for the other drivers set already, I did not split this one
in parts.

A documentation update is included.

The change saves 308 bytes in the i2c core, and an average 1382 bytes
for chip drivers which use I2C_CLIENT_INSMOD, 126 bytes for those which
do not.

This change is required if we want to merge the sensors and non-sensors
i2c code (and we want to do this).

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

Index: gregkh-2.6/Documentation/i2c/writing-clients
===================================================================
</content>
</entry>
</feed>
