i2c: Remove i2c clients in reverse order
authorJean Delvare <khali@linux-fr.org>
Fri, 28 Nov 2008 14:24:38 +0000 (15:24 +0100)
committerJean Delvare <khali@linux-fr.org>
Fri, 28 Nov 2008 14:24:38 +0000 (15:24 +0100)
commit79b93e1359b1414b438f239c6e5e0ad91232e4c8
tree0153ab798dca0f73c59297d161561c75364649da
parentd1846b0e7a1dc26f90fb0d75641aca9abb077ef9
i2c: Remove i2c clients in reverse order

i2c clients should be removed in reverse order compared to the probe
(actually: bind) order. This matters when several clients depend on
each other.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Tested-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
drivers/i2c/i2c-core.c