aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2016-09-20 09:01:24 +0000
committerDarren Hart <[email protected]>2016-12-13 17:29:01 +0000
commitbb9ad484845d7cc48f0c8db199a91c3a669d908f (patch)
treef58a43c7057eaff73da0d232c3cd4fa3da71318a /net/lapb/lapb_out.c
parentplatform/x86: Use ACPI_FAILURE at appropriate places (diff)
downloadkernel-bb9ad484845d7cc48f0c8db199a91c3a669d908f.tar.gz
kernel-bb9ad484845d7cc48f0c8db199a91c3a669d908f.zip
platform/x86: intel-vbtn: Switch to use devm_input_allocate_device
Use devm_input_allocate_device to simplify the error handling code. This conversion also makes input_register_device() to be called after acpi_remove_notify_handler. This avoid a small window that it's possible to call notify_handler after unregister input device. Signed-off-by: Axel Lin <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions