Message ID | 20211105154334.1841927-7-alexandre.ghiti@canonical.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Cleanup after removal of configs | expand |
Thanks Alexandre, On 11/5/21 17:43, Alexandre Ghiti wrote: > This driver was removed so remove all references to it. > > Fixes: 52a5502507bc ("watchdog: bd70528 drop bd70528 support") > Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com> > --- > include/linux/mfd/rohm-bd70528.h | 24 ------------------------ > 1 file changed, 24 deletions(-) > > diff --git a/include/linux/mfd/rohm-bd70528.h b/include/linux/mfd/rohm-bd70528.h This whole header should be dropped. I've already sent a patch for this during the previous cycle. I guess I need to respin that. https://lore.kernel.org/lkml/b288b97d-4c5f-1966-92b0-e949588ba97e@fi.rohmeurope.com/ Best Regards --Matti
diff --git a/include/linux/mfd/rohm-bd70528.h b/include/linux/mfd/rohm-bd70528.h index 4a5966475a35..297a4a84fff5 100644 --- a/include/linux/mfd/rohm-bd70528.h +++ b/include/linux/mfd/rohm-bd70528.h @@ -362,28 +362,4 @@ enum { #define BD70528_MASK_BUCK_RAMP 0x10 #define BD70528_SIFT_BUCK_RAMP 4 -#if IS_ENABLED(CONFIG_BD70528_WATCHDOG) - -int bd70528_wdt_set(struct rohm_regmap_dev *data, int enable, int *old_state); -void bd70528_wdt_lock(struct rohm_regmap_dev *data); -void bd70528_wdt_unlock(struct rohm_regmap_dev *data); - -#else /* CONFIG_BD70528_WATCHDOG */ - -static inline int bd70528_wdt_set(struct rohm_regmap_dev *data, int enable, - int *old_state) -{ - return 0; -} - -static inline void bd70528_wdt_lock(struct rohm_regmap_dev *data) -{ -} - -static inline void bd70528_wdt_unlock(struct rohm_regmap_dev *data) -{ -} - -#endif /* CONFIG_BD70528_WATCHDOG */ - #endif /* __LINUX_MFD_BD70528_H__ */
This driver was removed so remove all references to it. Fixes: 52a5502507bc ("watchdog: bd70528 drop bd70528 support") Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com> --- include/linux/mfd/rohm-bd70528.h | 24 ------------------------ 1 file changed, 24 deletions(-)