]> git.baikalelectronics.ru Git - kernel.git/commit
ieee1394: pcilynx: I2C cleanups
authorJean Delvare <khali@linux-fr.org>
Sat, 8 Sep 2007 12:09:19 +0000 (14:09 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 16 Oct 2007 21:59:57 +0000 (23:59 +0200)
commit48c121f891dc9f4adfb823d88859dbdbde19103d
tree7e92190d03ba5ce43baee0c9de1fb34dd7182d7c
parent358bc60547ae5b506a98f88f5160a189b1a14558
ieee1394: pcilynx: I2C cleanups

* Delete optional and empty i2c client_register and client_unregister
  callbacks.
* Use the proper i2c adapter ID.
* Don't use a template to initialize the i2c_adapter structure, it's
  inefficient.
* Update a misleading comment on why we use i2c_transfer rather than
  higher level i2c functions.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/pcilynx.c