Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7ac4db6 authored by Shantanu Jain's avatar Shantanu Jain Committed by Gerrit - the friendly Code Review server
Browse files

input: misc: fix error path for hbtp touch driver



Fix error path for hbtp touch driver where error
variable is not given proper error code while bailing
out from the function.

Change-Id: I56e2654ecffb021a60dd07ea5b5afe45a70a1c85
Signed-off-by: default avatarShantanu Jain <shjain@codeaurora.org>
parent 3a360dc1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
	}