summaryrefslogtreecommitdiff
path: root/drivers/thermal/amlogic_thermal.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/thermal/amlogic_thermal.c')
-rw-r--r--drivers/thermal/amlogic_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/amlogic_thermal.c b/drivers/thermal/amlogic_thermal.c
index cd4776aa805e..3c5f7dbddf2c 100644
--- a/drivers/thermal/amlogic_thermal.c
+++ b/drivers/thermal/amlogic_thermal.c
@@ -333,7 +333,7 @@ static struct platform_driver amlogic_thermal_driver = {
.of_match_table = of_amlogic_thermal_match,
},
.probe = amlogic_thermal_probe,
- .remove_new = amlogic_thermal_remove,
+ .remove = amlogic_thermal_remove,
};
module_platform_driver(amlogic_thermal_driver);