rtc: ds1307: remove flags
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 18 Apr 2021 00:00:22 +0000 (02:00 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 29 Apr 2021 21:04:13 +0000 (23:04 +0200)
flags is now unused, drop it.

Tested-by: Łukasz Stelmach <l.stelmach@samsung.com>
Reviewed-by: Łukasz Stelmach <l.stelmach@samsung.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210418000023.995758-2-alexandre.belloni@bootlin.com
drivers/rtc/rtc-ds1307.c

index 76d67c419f7d57143cbc658ae60aef4c166e0aa9..089509d0a3a0e61c926c28a30c7b826cd4244635 100644 (file)
@@ -169,8 +169,6 @@ enum ds_type {
 
 struct ds1307 {
        enum ds_type            type;
-       unsigned long           flags;
-#define HAS_NVRAM      0               /* bit 0 == sysfs file active */
        struct device           *dev;
        struct regmap           *regmap;
        const char              *name;