Skip to contentSkip to conversation

mfd: max77686: Remove unused extern declarations

PATCH Applied Yue Haibing 4 participants 4 messages Jul 28, 2023 – Aug 16, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: max77686: Remove unused extern declarations

max77686_irq_init() and max77686_irq_exit() are not used since commit 6f1c1e71d933 ("mfd: max77686: Convert to use regmap_irq"). And max77686_irq_resume() never be implemented since introduced in commit dae8a969d512 ("mfd: Add Maxim 77686 driver").

---
 include/linux/mfd/max77686-private.h | 4 ----
 1 file changed, 4 deletions(-)
include/linux/mfd/max77686-private.h +0 -4
index 3acceeedbaba..ea635d12a741 100644
@@ -441,8 +441,4 @@ enum max77686_types {
 	TYPE_MAX77802,
 };
 
-extern int max77686_irq_init(struct max77686_dev *max77686);
-extern void max77686_irq_exit(struct max77686_dev *max77686);
-extern int max77686_irq_resume(struct max77686_dev *max77686);
-
 #endif /*  __LINUX_MFD_MAX77686_PRIV_H */
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#2 lore raw
In reply to Yue Haibing
Quoted 15 lines · Yue Haibing

max77686_irq_init() and max77686_irq_exit() are not used since commit 6f1c1e71d933 ("mfd: max77686: Convert to use regmap_irq"). And max77686_irq_resume() never be implemented since introduced in commit dae8a969d512 ("mfd: Add Maxim 77686 driver").

---
 include/linux/mfd/max77686-private.h | 4 ----
 1 file changed, 4 deletions(-)
include/linux/mfd/max77686-private.h +0 -0
index 3acceeedbaba..ea635d12a741 100644

include/linux/mfd/max77686-private.h enum max77686_types { · line 444

Quoted 8 lines
include/linux/mfd/max77686-private.h +0 -4
@@ -441,8 +441,4 @@ enum max77686_types {
 	TYPE_MAX77802,
 };
 
-extern int max77686_irq_init(struct max77686_dev *max77686);
-extern void max77686_irq_exit(struct max77686_dev *max77686);
-extern int max77686_irq_resume(struct max77686_dev *max77686);
-
 #endif /*  __LINUX_MFD_MAX77686_PRIV_H */
Signature · 3 lines
Best Regards,
Samsung Electronics
Chanwoo Choi
maintainer Applied
#3 lore raw

Re: (subset) [PATCH -next] mfd: max77686: Remove unused extern declarations

In reply to Yue Haibing
Quoted 6 lines · Yue Haibing

max77686_irq_init() and max77686_irq_exit() are not used since commit 6f1c1e71d933 ("mfd: max77686: Convert to use regmap_irq"). And max77686_irq_resume() never be implemented since introduced in commit dae8a969d512 ("mfd: Add Maxim 77686 driver").

Applied, thanks!

[1/1] mfd: max77686: Remove unused extern declarations

      commit: 23f033eb371762d7f8d78172ab0bddd4d3bec626

--
Lee Jones [李琼斯]