i5400_edac: Disable device when unloading module
authorAristeu Rozanski <aris@redhat.com>
Thu, 16 Jan 2014 16:20:21 +0000 (11:20 -0500)
committerBorislav Petkov <bp@suse.de>
Fri, 7 Feb 2014 10:28:49 +0000 (11:28 +0100)
commitc2e650c49a1795238895a474873a12c6c5662833
tree6fa654c17f80c9942e74744b37e23db74506ed86
parent2edbf569971013a5ea424c43fbfab1951ab383d7
i5400_edac: Disable device when unloading module

This was found by Huqiu Liu using a static analysis.

Reported-by: Huqiu Liu <liuhq11@mails.tsinghua.edu.cn>
Signed-off-by: Aristeu Rozanski <aris@redhat.com>
Link: http://lkml.kernel.org/r/20140116162021.GY15716@redhat.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/i5400_edac.c