projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15d6000
)
[ERD][RAMEN9610-13615] [COMMON] hwmon: ntc_thermistor: Use pdev->name for register
author
Hyeonseong Gil
<hs.gil@samsung.com>
Wed, 5 Sep 2018 04:00:32 +0000
(13:00 +0900)
committer
hskang
<hs1218.kang@samsung.com>
Mon, 25 Mar 2019 01:06:25 +0000
(10:06 +0900)
Change-Id: Idf68d4be62a666bbd75ab83a6392ee1e5af3b8e8
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
drivers/hwmon/ntc_thermistor.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hwmon/ntc_thermistor.c
b/drivers/hwmon/ntc_thermistor.c
index c52d07c6b49f9b539e17143275add565ad45e4b7..df7449508b205a358f847a80dfbb5d01368e7ad3 100644
(file)
--- a/
drivers/hwmon/ntc_thermistor.c
+++ b/
drivers/hwmon/ntc_thermistor.c
@@
-633,7
+633,7
@@
static int ntc_thermistor_probe(struct platform_device *pdev)
return -EINVAL;
}
- hwmon_dev = devm_hwmon_device_register_with_groups(dev, pdev
_id
->name,
+ hwmon_dev = devm_hwmon_device_register_with_groups(dev, pdev->name,
data, ntc_groups);
if (IS_ERR(hwmon_dev)) {
dev_err(dev, "unable to register as hwmon device.\n");