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

Commit 6cb76386 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "input: sensors: change sensors classdev device's parent to input devices"

parents 96561860 fb9da6c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2303,7 +2303,7 @@ static int ft5x06_ts_probe(struct i2c_client *client,
					ft5x06_psensor_enable_set;
		psensor_pdata->data = data;

		err = sensors_classdev_register(&client->dev,
		err = sensors_classdev_register(&psensor_input_dev->dev,
						&psensor_pdata->ps_cdev);
		if (err)
			goto unregister_psensor_input_device;