summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/mpu3050.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/misc/mpu3050.c')
-rw-r--r--drivers/input/misc/mpu3050.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/misc/mpu3050.c b/drivers/input/misc/mpu3050.c
index dce0d95943c..6983ffbbfb9 100644
--- a/drivers/input/misc/mpu3050.c
+++ b/drivers/input/misc/mpu3050.c
@@ -383,6 +383,7 @@ static int mpu3050_probe(struct i2c_client *client,
pm_runtime_enable(&client->dev);
pm_runtime_set_autosuspend_delay(&client->dev, MPU3050_AUTO_DELAY);
+ i2c_set_clientdata(client, sensor);
return 0;