pm: remove irrelevant type qualifier on pm_power_state_next_get
The type qualifier of the return type is causing warnings if -Wignored-qualifiers, and it's irrelevant anyways since the function returns a value and not a pointer Signed-off-by: Emil Lindqvist <emil@lindq.gr>
This commit is contained in:
parent
04bb13b9cb
commit
5af3bbb27b
2 changed files with 2 additions and 2 deletions
|
@ -111,7 +111,7 @@ int pm_notifier_unregister(struct pm_notifier *notifier);
|
||||||
* @param cpu CPU index.
|
* @param cpu CPU index.
|
||||||
* @return next pm_state_info that will be used
|
* @return next pm_state_info that will be used
|
||||||
*/
|
*/
|
||||||
const struct pm_state_info pm_power_state_next_get(uint8_t cpu);
|
struct pm_state_info pm_power_state_next_get(uint8_t cpu);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @}
|
* @}
|
||||||
|
|
|
@ -294,7 +294,7 @@ int pm_notifier_unregister(struct pm_notifier *notifier)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
const struct pm_state_info pm_power_state_next_get(uint8_t cpu)
|
struct pm_state_info pm_power_state_next_get(uint8_t cpu)
|
||||||
{
|
{
|
||||||
return z_power_states[cpu];
|
return z_power_states[cpu];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue