]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
rtc: 88pm80x: remove unused pm80x_rtc_info members
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 17 May 2018 20:18:57 +0000 (22:18 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 17 May 2018 20:23:17 +0000 (22:23 +0200)
pm80x_rtc_info.calib_work and pm80x_rtc_info.vrtc are never used, remove
them.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-88pm80x.c

index 76df274f3e1a67ce4fe33f27572efddfae590c73..f60c0d73c2f332ed58b4355107398ce7394478c4 100644 (file)
@@ -52,10 +52,8 @@ struct pm80x_rtc_info {
        struct regmap *map;
        struct rtc_device *rtc_dev;
        struct device *dev;
-       struct delayed_work calib_work;
 
        int irq;
-       int vrtc;
 };
 
 static irqreturn_t rtc_update_handler(int irq, void *data)