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

Commit 4bafd5f8 authored by Shantanu Jain's avatar Shantanu Jain
Browse files

input: synaptics_rmi_dev: correct api call for releasing memory



Correct API call for releasing the memory in the Synaptics
touch driver.

Change-Id: I6d6ec71aa12474652e99887a0427f03952e6fe80
Signed-off-by: default avatarShantanu Jain <shjain@codeaurora.org>
parent dae56d47
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -382,7 +382,7 @@ static ssize_t rmidev_write(struct file *filp, const char __user *buf,
		*f_pos += retval;

	mutex_unlock(&(dev_data->file_mutex));
	free(tmpbuf);
	kfree(tmpbuf);
	return retval;
}