summaryrefslogtreecommitdiff
path: root/drivers/counter/ti-ecap-capture.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/counter/ti-ecap-capture.c')
-rw-r--r--drivers/counter/ti-ecap-capture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/counter/ti-ecap-capture.c b/drivers/counter/ti-ecap-capture.c
index b119aeede693..8fbd8e422008 100644
--- a/drivers/counter/ti-ecap-capture.c
+++ b/drivers/counter/ti-ecap-capture.c
@@ -603,7 +603,7 @@ MODULE_DEVICE_TABLE(of, ecap_cnt_of_match);
static struct platform_driver ecap_cnt_driver = {
.probe = ecap_cnt_probe,
- .remove_new = ecap_cnt_remove,
+ .remove = ecap_cnt_remove,
.driver = {
.name = "ecap-capture",
.of_match_table = ecap_cnt_of_match,