]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3937dbb5bd12e8b2da3fe47b4231738388853de9
tree343b2427127b4fcc98c35d5d729c309b1f42e27a
parent0457032ece0b769af119b4b0952e54d08dcc5935
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