pm: constify all device instances
Run cocci script to constify device instances. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
c94b341a54
commit
521c9d13fb
4 changed files with 9 additions and 9 deletions
|
@ -200,7 +200,7 @@ void pm_device_busy_clear(const struct device *dev)
|
|||
atomic_clear_bit(&pm->flags, PM_DEVICE_FLAG_BUSY);
|
||||
}
|
||||
|
||||
bool pm_device_wakeup_enable(struct device *dev, bool enable)
|
||||
bool pm_device_wakeup_enable(const struct device *dev, bool enable)
|
||||
{
|
||||
atomic_val_t flags, new_flags;
|
||||
struct pm_device *pm = dev->pm;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue