[-next] mfd: db8500-prcmu: Remove unused inline functions

Message ID 20230720143738.13996-1-yuehaibing@huawei.com
State New
Headers
Series [-next] mfd: db8500-prcmu: Remove unused inline functions |

Commit Message

Yue Haibing July 20, 2023, 2:37 p.m. UTC
  Since commit b0e846248de5 ("mfd: db8500-prcmu: Remove dead code for a non-existing config")
these inline helpers also no need any more.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 include/linux/mfd/dbx500-prcmu.h | 21 ---------------------
 1 file changed, 21 deletions(-)
  

Comments

Lee Jones July 28, 2023, 10:54 a.m. UTC | #1
On Thu, 20 Jul 2023 22:37:38 +0800, YueHaibing wrote:
> Since commit b0e846248de5 ("mfd: db8500-prcmu: Remove dead code for a non-existing config")
> these inline helpers also no need any more.
> 
> 

Applied, thanks!

[1/1] mfd: db8500-prcmu: Remove unused inline functions
      commit: 6b83c9bdd5f19827c258bc8776cd0911ec31123a

--
Lee Jones [李琼斯]
  

Patch

diff --git a/include/linux/mfd/dbx500-prcmu.h b/include/linux/mfd/dbx500-prcmu.h
index e7a7e70fdb38..dd0fc891b228 100644
--- a/include/linux/mfd/dbx500-prcmu.h
+++ b/include/linux/mfd/dbx500-prcmu.h
@@ -556,16 +556,6 @@  static inline void prcmu_clear(unsigned int reg, u32 bits)
 #define PRCMU_QOS_ARM_OPP 3
 #define PRCMU_QOS_DEFAULT_VALUE -1
 
-static inline unsigned long prcmu_qos_get_cpufreq_opp_delay(void)
-{
-	return 0;
-}
-
-static inline int prcmu_qos_requirement(int prcmu_qos_class)
-{
-	return 0;
-}
-
 static inline int prcmu_qos_add_requirement(int prcmu_qos_class,
 					    char *name, s32 value)
 {
@@ -582,15 +572,4 @@  static inline void prcmu_qos_remove_requirement(int prcmu_qos_class, char *name)
 {
 }
 
-static inline int prcmu_qos_add_notifier(int prcmu_qos_class,
-					 struct notifier_block *notifier)
-{
-	return 0;
-}
-static inline int prcmu_qos_remove_notifier(int prcmu_qos_class,
-					    struct notifier_block *notifier)
-{
-	return 0;
-}
-
 #endif /* __MACH_PRCMU_H */