summaryrefslogtreecommitdiff
path: root/net/802
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-04-24 02:46:24 (GMT)
committerIngo Molnar <mingo@kernel.org>2013-04-24 06:44:47 (GMT)
commit3482e664dc7f44e0ffb1fcf1de7af74977748f31 (patch)
tree75a1453f240ffc5eb9b96ee583ff82e4e36e8ce9 /net/802
parentad0304cfd90f46bfcae3a6cd2b69067741541730 (diff)
downloadlinux-fsl-qoriq-3482e664dc7f44e0ffb1fcf1de7af74977748f31.tar.xz
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 'net/802')
0 files changed, 0 insertions, 0 deletions