2023-07-20 15:17:56

by Yue Haibing

[permalink] [raw]
Subject: [PATCH -next] mfd: db8500-prcmu: Remove unused inline functions

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 <[email protected]>
---
include/linux/mfd/dbx500-prcmu.h | 21 ---------------------
1 file changed, 21 deletions(-)

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



2023-07-28 11:33:42

by Lee Jones

[permalink] [raw]
Subject: Re: (subset) [PATCH -next] mfd: db8500-prcmu: Remove unused inline functions

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 [李琼斯]