From: Neil Horman Date: Tue, 26 Sep 2006 06:32:21 +0000 (-0700) Subject: [PATCH] apm: clean up module initalization X-Git-Tag: v2.6.19-rc1~1134 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c94a62aae6ebc99b416e55c023b6f5a1d19a400b;p=pandora-kernel.git [PATCH] apm: clean up module initalization Clean up module initalization for apm.c. I had started by auditing for proper return code checks in misc_register, but I found that in the event of an initalization failure, a proc file and a kernel thread were left hanging out. this patch properly cleans up those loose ends on any initalization failure. Signed-off-by: Neil Horman Acked-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed