i2c-amd756-s4882: Fix an error path
authorJean Delvare <khali@linux-fr.org>
Tue, 29 Apr 2008 21:11:38 +0000 (23:11 +0200)
committerJean Delvare <khali@hyperion.delvare>
Tue, 29 Apr 2008 21:11:38 +0000 (23:11 +0200)
commitee56d977423a58b53fd0fc1ef0aca0c9cb564c53
tree343b2427127b4fcc98c35d5d729c309b1f42e27a
parent306f39f8f2ecf896ae761748843b148b90d3494d
i2c-amd756-s4882: Fix an error path

If initialization fails, we want to restore the physical bus, not delete
it again.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-amd756-s4882.c