commit | 5219bf884b6e2b54e734ca1799b6f0014bb2b4b7 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Fri Jan 14 22:03:49 2011 +0100 |
committer | Jean Delvare <khali@endymion.delvare> | Fri Jan 14 22:03:49 2011 +0100 |
tree | b3ea8be732ccca2152d642a7ead63270a592c8e1 | |
parent | 891cc2283216bf76f387546f0e220caf8ce9fbf9 [diff] |
i2c: Unregister dummy devices last on adapter removal Remove real devices first and dummy devices last. This gives device driver which instantiated dummy devices themselves a chance to clean them up before we do. Signed-off-by: Jean Delvare <khali@linux-fr.org> Tested-by: Hans Verkuil <hverkuil@xs4all.nl> Cc: stable@kernel.org