hwmon: (ntc_thermistor) Correct information printed during probe
authorNaveen Krishna Chatradhi <ch.naveen@samsung.com>
Thu, 26 Jun 2014 12:50:14 +0000 (18:20 +0530)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 30 Jun 2014 06:56:14 +0000 (23:56 -0700)
commit93a88ef305ae928d9b1548d6c96734ae87843d02
treebd717d6d66fe4ee353a068703cc4c42ea5d7acd4
parent4c834452aad01531db949414f94f817a86348d59
hwmon: (ntc_thermistor) Correct information printed during probe

Currently, dev_info() at the end of the probe says
"type:%s ". But, prints pdev->name.

This patch uses "pdev_id->name" which prints the thermistor type.

Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ntc_thermistor.c