From: David Herrmann Date: Sat, 7 Jan 2012 14:19:41 +0000 (+0100) Subject: Bluetooth: dtl1: Fix memleak in probe() X-Git-Tag: v3.4-rc1~177^2~112^2~256 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a0b8159e1c65ce25382d3f5189b6a462422f065;p=pandora-kernel.git Bluetooth: dtl1: Fix memleak in probe() We currently leak the driver info structure if dtl1_config fails. If we add a kfree() to dtl1_release to fix this, then dtl1_release and dtl1_detach are identical so this merges both functions. Signed-off-by: David Herrmann Acked-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed