]> git.karo-electronics.de Git - karo-tx-linux.git/commit
misc: pti, do the opposite of ->probe in ->remove
authorJiri Slaby <jslaby@suse.cz>
Tue, 7 Aug 2012 19:47:33 +0000 (21:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Aug 2012 20:27:51 +0000 (13:27 -0700)
commit3140bae26c9105b4ec8ff4935631f2f09882553d
tree94295eeb0e1e86d3cc246fb91f5d81c34f884a7f
parent065185f604c604ce77c43d7f26faf712f0bfa265
misc: pti, do the opposite of ->probe in ->remove

Currently, probe initializes some parts. Then, some of them are
unwound in ->remove, some in module_exit. Let us do the opposite of
whole ->probe in ->remove.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: J Freyensee <james_p_freyensee@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/pti.c