diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-09-21 17:12:05 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-09-22 11:10:06 +0200 |
commit | 46a41b512f6800b531e94bdf5f1ca0e226492d91 (patch) | |
tree | 76b3e8992d478809ad03cb8ee999bad8eb53c14b /drivers/fpga/Kconfig | |
parent | HID: support for keyboard - Corsair STRAFE (diff) | |
download | linux-46a41b512f6800b531e94bdf5f1ca0e226492d91.tar.xz linux-46a41b512f6800b531e94bdf5f1ca0e226492d91.zip |
HID: alps: fix error return code in alps_input_configured()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
While at it, remove redundant input_free_device(NULL) call.
[jkosina@suse.cz: ammend changelog]
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/fpga/Kconfig')
0 files changed, 0 insertions, 0 deletions