aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-01-14 21:53:31 +0100
committerJean Delvare <khali@hyperion.delvare>2008-01-14 21:53:31 +0100
commit5cd6e675f862568ad73c061665ee5080cfd952c5 (patch)
tree2a1d65b3a80ffaa21cd9e6835c8d35fb44c91865 /arch/powerpc
parenti2c: Driver IDs are optional (diff)
downloadlinux-dev-5cd6e675f862568ad73c061665ee5080cfd952c5.tar.xz
linux-dev-5cd6e675f862568ad73c061665ee5080cfd952c5.zip
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>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions