mirror of https://gitee.com/openkylin/linux.git
3482e664dc
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> |
||
---|---|---|
.. | ||
Makefile | ||
olpc-xo1-pm.c | ||
olpc-xo1-rtc.c | ||
olpc-xo1-sci.c | ||
olpc-xo15-sci.c | ||
olpc.c | ||
olpc_dt.c | ||
olpc_ofw.c | ||
xo1-wakeup.S |