projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c83445
)
hwmon: (ntc_thermistor) Correct information printed during probe
author
Naveen Krishna Chatradhi
<ch.naveen@samsung.com>
Thu, 26 Jun 2014 12:50:14 +0000
(18:20 +0530)
committer
Guenter Roeck
<linux@roeck-us.net>
Mon, 30 Jun 2014 06:56:14 +0000
(23:56 -0700)
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
patch
|
blob
|
history
diff --git
a/drivers/hwmon/ntc_thermistor.c
b/drivers/hwmon/ntc_thermistor.c
index
bdfbe91
..
ae66f42
100644
(file)
--- 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: