From: Jean Delvare Date: Mon, 14 Jan 2008 20:53:31 +0000 (+0100) Subject: i2c-sibyte: Fix an error path X-Git-Tag: v2.6.24-rc8~12^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cd6e675f862568ad73c061665ee5080cfd952c5;p=pandora-kernel.git 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 Cc: Ralf Baechle --- Reading git-diff-tree failed