提交 93a88ef3 编写于 作者: N Naveen Krishna Chatradhi 提交者: Guenter Roeck

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: NNaveen Krishna Chatradhi <ch.naveen@samsung.com>
Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
上级 4c834452
...@@ -512,7 +512,7 @@ static int ntc_thermistor_probe(struct platform_device *pdev) ...@@ -512,7 +512,7 @@ static int ntc_thermistor_probe(struct platform_device *pdev)
} }
dev_info(&pdev->dev, "Thermistor type: %s successfully probed.\n", dev_info(&pdev->dev, "Thermistor type: %s successfully probed.\n",
pdev->name); pdev_id->name);
return 0; return 0;
err_after_sysfs: err_after_sysfs:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册