diff options
author | Naveen Krishna Chatradhi <ch.naveen@samsung.com> | 2014-06-26 12:50:14 (GMT) |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-06-30 06:56:14 (GMT) |
commit | 93a88ef305ae928d9b1548d6c96734ae87843d02 (patch) | |
tree | bd717d6d66fe4ee353a068703cc4c42ea5d7acd4 /drivers/hwmon/ntc_thermistor.c | |
parent | 4c834452aad01531db949414f94f817a86348d59 (diff) | |
download | linux-93a88ef305ae928d9b1548d6c96734ae87843d02.tar.xz |
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>
Diffstat (limited to 'drivers/hwmon/ntc_thermistor.c')
-rw-r--r-- | drivers/hwmon/ntc_thermistor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/ntc_thermistor.c b/drivers/hwmon/ntc_thermistor.c index bdfbe91..ae66f42 100644 --- a/drivers/hwmon/ntc_thermistor.c +++ b/drivers/hwmon/ntc_thermistor.c @@ -512,7 +512,7 @@ static int ntc_thermistor_probe(struct platform_device *pdev) } dev_info(&pdev->dev, "Thermistor type: %s successfully probed.\n", - pdev->name); + pdev_id->name); return 0; err_after_sysfs: |