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:
Tomasz Bursztyka 2022-01-06 14:37:24 +01:00 committed by Carles Cufí
commit 521c9d13fb
4 changed files with 9 additions and 9 deletions

View file

@ -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;