From: Jean Delvare Date: Wed, 26 Apr 2006 20:50:32 +0000 (+0200) Subject: [PATCH] scx200_acb: Fix return on init error X-Git-Tag: v2.6.17-rc5~164^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f9c2963888e60e46a9e0bd09a25740abce29262;p=pandora-kernel.git [PATCH] scx200_acb: Fix return on init error The scx200_acb driver shouldn't return failure after initialization if it successfully registered at least one i2c_adapter, else we are leaking resources. The driver was OK in that respect up to 2.6.16, a recent change broke it. This is part of the fix to bug #6445. Signed-off-by: Jean Delvare Cc: Ben Gardner Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed