diff mbox series

[6/7] include: mfd: Remove leftovers from bd70528 watchdog

Message ID 20211105154334.1841927-7-alexandre.ghiti@canonical.com (mailing list archive)
State New, archived
Headers show
Series Cleanup after removal of configs | expand

Commit Message

Alexandre Ghiti Nov. 5, 2021, 3:43 p.m. UTC
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(-)

Comments

Vaittinen, Matti Nov. 8, 2021, 6:20 a.m. UTC | #1
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 mbox series

Patch

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__ */