diff --git a/drivers/rtc/rtc-stm32.c b/drivers/rtc/rtc-stm32.c index c4789b5a5d814396f600739d25bd1d43aec342d2..3513e052722f3e2c1674f414bd060d86ab1d221e 100644 --- a/drivers/rtc/rtc-stm32.c +++ b/drivers/rtc/rtc-stm32.c @@ -657,7 +657,7 @@ static int stm32_rtc_probe(struct platform_device *pdev) return ret; } -static int __exit stm32_rtc_remove(struct platform_device *pdev) +static int stm32_rtc_remove(struct platform_device *pdev) { struct stm32_rtc *rtc = platform_get_drvdata(pdev); unsigned int cr;