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

Commit 3176095c authored by Himanshu Aggarwal's avatar Himanshu Aggarwal Committed by Gerrit - the friendly Code Review server
Browse files

input: ft5x06_ts: fix uninitialized references in ft5x06_ts



Fix uninitialized references in ft5x06_ts driver, found
during static analysis of the code.

Change-Id: I15e248dd9bb3673c21d31acea69a1e892eff51b0
Signed-off-by: default avatarHimanshu Aggarwal <haggarwa@codeaurora.org>
parent 6fe43690
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1936,7 +1936,7 @@ static int ft5x06_debug_data_get(void *_data, u64 *val)
{
	struct ft5x06_ts_data *data = _data;
	int rc;
	u8 reg;
	u8 reg = 0;

	mutex_lock(&data->input_dev->mutex);

@@ -2255,7 +2255,7 @@ static int ft5x06_ts_probe(struct i2c_client *client,
	struct ft5x06_ts_data *data;
	struct input_dev *input_dev;
	struct dentry *temp;
	u8 reg_value;
	u8 reg_value = 0;
	u8 reg_addr;
	int err, len, retval, attr_count;