aboutsummaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-asm9260.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-asm9260.c')
-rw-r--r--drivers/rtc/rtc-asm9260.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-asm9260.c b/drivers/rtc/rtc-asm9260.c
index a83b47e0d8f5..705470ae8428 100644
--- a/drivers/rtc/rtc-asm9260.c
+++ b/drivers/rtc/rtc-asm9260.c
@@ -325,7 +325,7 @@ MODULE_DEVICE_TABLE(of, asm9260_dt_ids);
static struct platform_driver asm9260_rtc_driver = {
.probe = asm9260_rtc_probe,
- .remove_new = asm9260_rtc_remove,
+ .remove = asm9260_rtc_remove,
.driver = {
.name = "asm9260-rtc",
.of_match_table = asm9260_dt_ids,