Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtc: ds1307: remove flags

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

-2
-2
drivers/rtc/rtc-ds1307.c
··· 169 169 170 170 struct ds1307 { 171 171 enum ds_type type; 172 - unsigned long flags; 173 - #define HAS_NVRAM 0 /* bit 0 == sysfs file active */ 174 172 struct device *dev; 175 173 struct regmap *regmap; 176 174 const char *name;