summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-rtd119x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-rtd119x.c')
-rw-r--r--drivers/rtc/rtc-rtd119x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-rtd119x.c b/drivers/rtc/rtc-rtd119x.c
index 29662dfd56fe..85a138db81d7 100644
--- a/drivers/rtc/rtc-rtd119x.c
+++ b/drivers/rtc/rtc-rtd119x.c
@@ -228,7 +228,7 @@ static void rtd119x_rtc_remove(struct platform_device *pdev)
static struct platform_driver rtd119x_rtc_driver = {
.probe = rtd119x_rtc_probe,
- .remove_new = rtd119x_rtc_remove,
+ .remove = rtd119x_rtc_remove,
.driver = {
.name = "rtd1295-rtc",
.of_match_table = rtd119x_rtc_dt_ids,