Based on discussion on patch series of MAX77620 when adding separate driver for max77620 RTC, it is discussed to reuse the max77686 driver for all CHips MAX77802, MAX77686 and MAX77620. For this, the rtc-max77686 need to make as IP driver independent of their MFD parent driver.
This series makes the rtc-max77686 as independent driver from its parent. Required information is passed through the device parent which is generic and does not depends on any max77686 specific header ifnromation. CC: Krzysztof Mazur <[email protected]> CC: Javier Martinez Canillas <[email protected]> Laxman Dewangan (4): rtc: max77686: fix checkpatch error rtc: max77686: use rtc regmap to access RTC registers rtc: max77686: avoid reference of parent device info multiple palces rtc: max77686: move initialisation of rtc regmap, irq chip locally drivers/mfd/max77686.c | 82 +--------- drivers/rtc/Kconfig | 7 +- drivers/rtc/rtc-max77686.c | 295 ++++++++++++++++++++++++++++------- include/linux/mfd/max77686-private.h | 16 -- 4 files changed, 244 insertions(+), 156 deletions(-) -- 2.1.4

