Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93a88ef3 authored by Naveen Krishna Chatradhi's avatar Naveen Krishna Chatradhi Committed by Guenter Roeck
Browse files

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: default avatarNaveen Krishna Chatradhi <ch.naveen@samsung.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 4c834452
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: