From: Ben Dooks Date: Tue, 1 May 2007 21:26:35 +0000 (+0200) Subject: i2c-s3c2410: Fix bug in releasing driver X-Git-Tag: v2.6.22-rc1~1081^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b68790cd5e2879067bcbc45b01eeb6081e7d731;p=pandora-kernel.git i2c-s3c2410: Fix bug in releasing driver When compiled as a module, the i2c-s3c2410 driver does not free either the IRQ or the i2c adapter it attached to the system. As part of this fix, move to the usual kernel style of freeing items as part of the probe error path making the remove process easier. Signed-off-by: Ben Dooks Signed-off-by: Jean Delvare --- Reading git-diff-tree failed