projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'rproc-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson...
[linux-2.6-microblaze.git]
/
drivers
/
thermal
/
broadcom
/
bcm2711_thermal.c
diff --git
a/drivers/thermal/broadcom/bcm2711_thermal.c
b/drivers/thermal/broadcom/bcm2711_thermal.c
index
67c2a73
..
1ec57d9
100644
(file)
--- a/
drivers/thermal/broadcom/bcm2711_thermal.c
+++ b/
drivers/thermal/broadcom/bcm2711_thermal.c
@@
-102,11
+102,7
@@
static int bcm2711_thermal_probe(struct platform_device *pdev)
priv->thermal = thermal;
thermal->tzp->no_hwmon = false;
priv->thermal = thermal;
thermal->tzp->no_hwmon = false;
- ret = thermal_add_hwmon_sysfs(thermal);
- if (ret)
- return ret;
-
- return 0;
+ return thermal_add_hwmon_sysfs(thermal);
}
static struct platform_driver bcm2711_thermal_driver = {
}
static struct platform_driver bcm2711_thermal_driver = {