summaryrefslogtreecommitdiff
path: root/drivers/thermal/broadcom/ns-thermal.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/thermal/broadcom/ns-thermal.c')
-rw-r--r--drivers/thermal/broadcom/ns-thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/broadcom/ns-thermal.c b/drivers/thermal/broadcom/ns-thermal.c
index 5eaf79c490f0..8b5b32f749ee 100644
--- a/drivers/thermal/broadcom/ns-thermal.c
+++ b/drivers/thermal/broadcom/ns-thermal.c
@@ -80,7 +80,7 @@ MODULE_DEVICE_TABLE(of, ns_thermal_of_match);
static struct platform_driver ns_thermal_driver = {
.probe = ns_thermal_probe,
- .remove_new = ns_thermal_remove,
+ .remove = ns_thermal_remove,
.driver = {
.name = "ns-thermal",
.of_match_table = ns_thermal_of_match,