[-next] mfd: db8500-prcmu: Remove unused inline functions
Commit Message
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
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 [李琼斯]
@@ -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 */