]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
rtc: st-lpc: Remove struct resource from struct st_rtc
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Sat, 23 Nov 2019 09:12:41 +0000 (18:12 +0900)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 27 Nov 2019 08:31:14 +0000 (09:31 +0100)
struct resource in struct st_rtc is not used, remove it.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Link: https://lore.kernel.org/r/20191123091241.1905-1-nobuhiro1.iwamatsu@toshiba.co.jp
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-st-lpc.c

index f1c5471073bc24b965c154966e36c29a0990cae4..51041dc08af4b479443c96b6579cb1cb0e87b860 100644 (file)
@@ -41,7 +41,6 @@
 struct st_rtc {
        struct rtc_device *rtc_dev;
        struct rtc_wkalrm alarm;
-       struct resource *res;
        struct clk *clk;
        unsigned long clkrate;
        void __iomem *ioaddr;