Input: mpu3050 - add missing i2c_set_clientdata() in mpu3050_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 11 Nov 2013 07:34:05 +0000 (23:34 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 11 Nov 2013 08:01:44 +0000 (00:01 -0800)
commit158baef35129e46e3eb15838092e91b94f0181e0
tree0567e4cdb6e1aeaffb0533a4caf807fafba686ba
parenta108193cf9685061660e111f985594d6a344abfb
Input: mpu3050 - add missing i2c_set_clientdata() in mpu3050_probe()

Add missing i2c_set_clientdata() in mpu3050_probe(), otherwise
calling i2c_get_clientdata() in mpu3050_remove() returns NULL.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/mpu3050.c