aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/rtc
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tbogendoerfer@suse.de>2019-10-11 17:05:44 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-10-14 17:49:22 +0200
commitaf818031f4637b0e8d106fcc9023f1c22c44e13a (patch)
treed382e8ec5d5612a401e7dc6893405064bf788c12 /include/linux/rtc
parentrts: ds1685: remove not needed fields from private struct (diff)
downloadwireguard-linux-af818031f4637b0e8d106fcc9023f1c22c44e13a.tar.xz
wireguard-linux-af818031f4637b0e8d106fcc9023f1c22c44e13a.zip
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.h1
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;