aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/lguest/boot.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-04-24 10:46:24 +0800
committerIngo Molnar <mingo@kernel.org>2013-04-24 08:44:47 +0200
commit3482e664dc7f44e0ffb1fcf1de7af74977748f31 (patch)
tree75a1453f240ffc5eb9b96ee583ff82e4e36e8ce9 /arch/x86/lguest/boot.c
parentad0304cfd90f46bfcae3a6cd2b69067741541730 (diff)
x86/olpc/xo1/sci: Don't call input_free_device() after input_unregister_device()
input_free_device() should only be used if input_register_device() was not called yet or if it failed. Once device was unregistered use input_unregister_device() and memory will be freed once last reference to the device is dropped. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Cc: dsd@laptop.org Cc: pgf@laptop.org Cc: gregkh@linuxfoundation.org Link: http://lkml.kernel.org/r/CAPgLHd84cboeucog%2BYNdHvGqTfTROujDKZgSkh3o0B-Q93ee2A@mail.gmail.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/lguest/boot.c')
0 files changed, 0 insertions, 0 deletions