You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
cpuidle/coupled: Remove redundant 'dev' argument of cpuidle_state_is_coupled()
For cpuidle_state_is_coupled(), 'dev' is not used, so remove it. Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
committed by
Rafael J. Wysocki
parent
ba6a860d41
commit
4c1ed5a607
@@ -34,15 +34,14 @@ extern int cpuidle_add_sysfs(struct cpuidle_device *dev);
|
||||
extern void cpuidle_remove_sysfs(struct cpuidle_device *dev);
|
||||
|
||||
#ifdef CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED
|
||||
bool cpuidle_state_is_coupled(struct cpuidle_device *dev,
|
||||
struct cpuidle_driver *drv, int state);
|
||||
bool cpuidle_state_is_coupled(struct cpuidle_driver *drv, int state);
|
||||
int cpuidle_enter_state_coupled(struct cpuidle_device *dev,
|
||||
struct cpuidle_driver *drv, int next_state);
|
||||
int cpuidle_coupled_register_device(struct cpuidle_device *dev);
|
||||
void cpuidle_coupled_unregister_device(struct cpuidle_device *dev);
|
||||
#else
|
||||
static inline bool cpuidle_state_is_coupled(struct cpuidle_device *dev,
|
||||
struct cpuidle_driver *drv, int state)
|
||||
static inline
|
||||
bool cpuidle_state_is_coupled(struct cpuidle_driver *drv, int state)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user