diff options
author | Thomas Bogendoerfer <tbogendoerfer@suse.de> | 2019-10-11 18:05:44 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-10-14 18:49:22 +0300 |
commit | af818031f4637b0e8d106fcc9023f1c22c44e13a (patch) | |
tree | d382e8ec5d5612a401e7dc6893405064bf788c12 /include/linux/rtc | |
parent | 9e420d7f125f51ab1eda37497b08c4fad9efe4a8 (diff) | |
download | linux-af818031f4637b0e8d106fcc9023f1c22c44e13a.tar.xz |
rtc: ds1685: use devm_platform_ioremap_resource helper
Simplify ioremapping of registers by using devm_platform_ioremap_resource.
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Acked-by: Joshua Kinard <kumba@gentoo.org>
Link: https://lore.kernel.org/r/20191011150546.9186-2-tbogendoerfer@suse.de
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'include/linux/rtc')
-rw-r--r-- | include/linux/rtc/ds1685.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/rtc/ds1685.h b/include/linux/rtc/ds1685.h index b9671d00d964..101c7adc05a2 100644 --- a/include/linux/rtc/ds1685.h +++ b/include/linux/rtc/ds1685.h @@ -43,7 +43,6 @@ struct ds1685_priv { struct rtc_device *dev; void __iomem *regs; u32 regstep; - size_t size; int irq_num; bool bcd_mode; bool no_irq; |