]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (tmp103) Add missing i2c_set_clientdata call in tmp103_probe
authorAxel Lin <axel.lin@ingics.com>
Fri, 27 Jun 2014 14:49:29 +0000 (22:49 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:34 +0000 (07:01 -0700)
commit88a955260a51ad7456d0d971546ae88edf01c24f
tree4072eda735cadd28dcf913bd6252d66b7a8c9ed0
parentad2b4b47d2015fe8e17b4e3350dbc0334c513de5
hwmon: (tmp103) Add missing i2c_set_clientdata call in tmp103_probe

Add missing i2c_set_clientdata() call in tmp103_probe, this makes the
dev_get_drvdata() call in tmp103_suspend/tmp103_resume return correct
address.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/tmp103.c