diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-05-11 11:48:46 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-05-11 11:48:46 -0700 |
| commit | 8691dbd00ff719219aef64a23085941d859b0dd6 (patch) | |
| tree | e4374b5fa1ee1fb7f726966a0614e232ba5a22a4 /drivers/input/misc | |
| parent | 9ad03b1fbdbd92052bbcb11138ed0c524e2c4bb0 (diff) | |
| parent | c7ac4db6b55203a04d567ff7bd3b3ca7cb4816f3 (diff) | |
Merge "input: misc: fix error path for hbtp touch driver"
Diffstat (limited to 'drivers/input/misc')
| -rw-r--r-- | drivers/input/misc/hbtp_input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/misc/hbtp_input.c b/drivers/input/misc/hbtp_input.c index 0362095d4c38..56f2732334db 100644 --- a/drivers/input/misc/hbtp_input.c +++ b/drivers/input/misc/hbtp_input.c @@ -1479,6 +1479,7 @@ static int __init hbtp_init(void) sensor_kobject = kobject_create_and_add("hbtpsensor", kernel_kobj); if (!sensor_kobject) { pr_err("%s: Could not create hbtpsensor kobject\n", __func__); + error = -ENOMEM; goto err_kobject_create; } |
