commit | e78395334ba6034b53e21e09ce8a50c303d130a9 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Tue Feb 07 10:00:37 2017 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue Feb 07 14:23:43 2017 -0800 |
tree | 8983da37b39ff224aacff78196ac13cb43055f92 | |
parent | a1fbf5bbef025b4844162b3b8868888003a7ee9c [diff] |
Input: synaptics-rmi4 - fix error return code in rmi_probe_interrupts() Fix to return error code -ENOMEM from the devm_kzalloc() error handling case instead of 0, as done elsewhere in this function. Fixes: 6bd0dcfacf28 ("Input: synaptics-rmi4 - factor out functions from probe") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>