i2c: Let new-style drivers implement attach_adapter
commit935298696f469c0e07c73be687bd055878074ce0
authorJean Delvare <khali@linux-fr.org>
Mon, 13 Apr 2009 15:02:14 +0000 (13 17:02 +0200)
committerJean Delvare <khali@linux-fr.org>
Mon, 13 Apr 2009 15:02:14 +0000 (13 17:02 +0200)
tree0334918c9803c66f9c343246724fe09a6bc84608
parentc758e8cffe3b1bc7970d579371db01b19ff440bf
i2c: Let new-style drivers implement attach_adapter

While it isn't the way the standard device binding model works, it is
OK for new-style drivers to implement attach_adapter. It may help
convert the renaming legacy drivers to new style drivers faster.

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