summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-pl030.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2021-02-22 13:09:55 +0000
committerRussell King <rmk+kernel@armlinux.org.uk>2021-02-22 13:09:55 +0000
commit90e53c5e09251edb2cee367f6cb472e4bac121f2 (patch)
tree797296eb8ef5de54a6ec919c0c1f7e1940262c4e /drivers/rtc/rtc-pl030.c
parentfd749fe4bcb00ad80d9eece709f804bb4ac6bf1e (diff)
parent860660fd829e64d4deb255fac9d73ab84a1440c3 (diff)
Merge branch 'devel-stable' into for-linus
Diffstat (limited to 'drivers/rtc/rtc-pl030.c')
-rw-r--r--drivers/rtc/rtc-pl030.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-pl030.c b/drivers/rtc/rtc-pl030.c
index 5a880516f3e8..39038c0754ee 100644
--- a/drivers/rtc/rtc-pl030.c
+++ b/drivers/rtc/rtc-pl030.c
@@ -137,7 +137,7 @@ static int pl030_probe(struct amba_device *dev, const struct amba_id *id)
return ret;
}
-static int pl030_remove(struct amba_device *dev)
+static void pl030_remove(struct amba_device *dev)
{
struct pl030_rtc *rtc = amba_get_drvdata(dev);
@@ -146,8 +146,6 @@ static int pl030_remove(struct amba_device *dev)
free_irq(dev->irq[0], rtc);
iounmap(rtc->base);
amba_release_regions(dev);
-
- return 0;
}
static struct amba_id pl030_ids[] = {