i2c: Class attribute cleanup
authorDavid Brownell <david-b@pacbell.net>
Tue, 1 May 2007 21:26:28 +0000 (23:26 +0200)
committerJean Delvare <khali@hyperion.delvare>
Tue, 1 May 2007 21:26:28 +0000 (23:26 +0200)
commit16ffadfc680bd0683dc88573c1d72cbf1e27030e
tree4cf309680cc92b7906f0e069b12a6fdf09b9c408
parent2096b956d24c4b5950b808fc23b218425d79ebb1
i2c: Class attribute cleanup

This patch is a minor cleanup/code shrink, using class infrastructure
in i2c-core to manage the i2c_adapter attribute.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-isa.c
drivers/i2c/i2c-core.c