git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
thermal: mtk_thermal: make device_reset optional
[sfrench/cifs-2.6.git]
/
drivers
/
thermal
/
mtk_thermal.c
diff --git
a/drivers/thermal/mtk_thermal.c
b/drivers/thermal/mtk_thermal.c
index 0bd7aa564bc25cc6d9d9303c59a6d9f0f8b5986b..149c6d7fd5a076e67d36f255514f832aad28af1d 100644
(file)
--- a/
drivers/thermal/mtk_thermal.c
+++ b/
drivers/thermal/mtk_thermal.c
@@
-1052,7
+1052,7
@@
static int mtk_thermal_probe(struct platform_device *pdev)
return -EINVAL;
}
- ret = device_reset(&pdev->dev);
+ ret = device_reset
_optional
(&pdev->dev);
if (ret)
return ret;