projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Thermal/int340x/int3403: Free acpi notification handler
[cascardo/linux.git]
/
drivers
/
thermal
/
int340x_thermal
/
int3403_thermal.c
diff --git
a/drivers/thermal/int340x_thermal/int3403_thermal.c
b/drivers/thermal/int340x_thermal/int3403_thermal.c
index
479d754
..
0faf500
100644
(file)
--- a/
drivers/thermal/int340x_thermal/int3403_thermal.c
+++ b/
drivers/thermal/int340x_thermal/int3403_thermal.c
@@
-301,6
+301,8
@@
static int int3403_sensor_remove(struct int3403_priv *priv)
{
struct int3403_sensor *obj = priv->priv;
+ acpi_remove_notify_handler(priv->adev->handle,
+ ACPI_DEVICE_NOTIFY, int3403_notify);
thermal_zone_device_unregister(obj->tzone);
return 0;
}