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

Commit c8d7bd6c authored by Jie Cheng's avatar Jie Cheng
Browse files

Sensors: remove the MPU3050 driver parent



Remove the MPU3040 gyroscope driver parent to allow the system
registers the driver in the "/sys/devices/virtual/input" folder.
The system will give the driver sysfs interface correct permission
according to the ueventd file.

CRs-Fixed: 510210
Change-Id: I957acc809005a06f6a8219140d8a4d609e46b435
Signed-off-by: default avatarJie Cheng <rockiec@codeaurora.org>
parent 1ce07d93
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -734,7 +734,6 @@ static int mpu3050_probe(struct i2c_client *client,

	idev->name = "MPU3050";
	idev->id.bustype = BUS_I2C;
	idev->dev.parent = &client->dev;

	idev->open = mpu3050_input_open;
	idev->close = mpu3050_input_close;