]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd3ef45ebbf63d560d7f4ef8c1bc59225cbe87483
treebd717d6d66fe4ee353a068703cc4c42ea5d7acd4
parentc96b1f3a0e5c04e66ef7510b21a312ace9d78993
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