diff options
author | Neil Horman <nhorman@tuxdriver.com> | 2006-09-26 02:32:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 11:48:55 -0400 |
commit | c94a62aae6ebc99b416e55c023b6f5a1d19a400b (patch) | |
tree | 9176d4e723f6c427afef069b64753e1b1141afdb /arch/x86_64 | |
parent | 3a750363e6075a28e5542ce93a69c620c0cfd605 (diff) |
[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 <nhorman@tuxdriver.com>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64')
0 files changed, 0 insertions, 0 deletions