Jean Delvare bd4bc3dbde i2c: Clear i2c_adapter.dev on adapter removal
Clear i2c_adapter.dev on adapter removal. This makes it possible to
re-add the adapter at a later point, which some drivers
(i2c-amd756-s4882, i2c-nforce2-s4985) actually do.

This fixes a bug reported by John Stultz here:
  http://lkml.org/lkml/2008/7/15/720
and by Ingo Molar there:
  http://lkml.org/lkml/2008/7/16/78

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: John Stultz <johnstul@us.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
2008-07-16 19:30:05 +02:00
..
2007-07-15 16:40:52 -07:00
2008-07-14 22:38:34 +02:00
2008-01-27 18:14:45 +01:00
2008-07-16 11:07:59 +10:00
2008-07-14 22:38:33 +02:00
2008-04-11 12:07:05 +02:00
2007-02-13 22:09:01 +01:00