commit | 5cd6e675f862568ad73c061665ee5080cfd952c5 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Mon Jan 14 21:53:31 2008 +0100 |
committer | Jean Delvare <khali@hyperion.delvare> | Mon Jan 14 21:53:31 2008 +0100 |
tree | 2a1d65b3a80ffaa21cd9e6835c8d35fb44c91865 | |
parent | f9dd0194ff23d612e463be764d73da7825da4aa1 [diff] |
i2c-sibyte: Fix an error path If the registration of the second I2C channel fails, we really want to unregister the first one before we return with an error. While we're here, fix the printk right above so that it displays the real driver name. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Ralf Baechle <ralf@linux-mips.org>