Skip to content
Commit 5cd6e675 authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare
Browse files

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: default avatarJean Delvare <khali@linux-fr.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
parent f9dd0194
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment