Input: mma8450 - add missing i2c_set_clientdata() in mma8450_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 11 Nov 2013 07:35:45 +0000 (23:35 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 11 Nov 2013 08:01:44 +0000 (00:01 -0800)
commitacc84667c533eddc6c84f5986860b7d8b2b9ee0d
tree618b536514f16db61f41e24e167afcffabcfa067
parent158baef35129e46e3eb15838092e91b94f0181e0
Input: mma8450 - add missing i2c_set_clientdata() in mma8450_probe()

Add missing i2c_set_clientdata() in mma8450_probe(), otherwise
calling i2c_get_clientdata() in mma8450_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/mma8450.c