nuttx/drivers/power/pm
wangjianyu3 f0590eeaf0 drivers/power/pm: Fix warning of type cast
Env: sim (Ubuntu 22.04.3 LTS (x86_64 GNU/Linux)), enable PM
```
power/pm/pm_autoupdate.c: In function ‘pm_auto_updatestate’:
power/pm/pm_autoupdate.c:84:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   84 |                      pm_auto_updatestate_cb, (FAR void *)domain, 0);
      |                                              ^
power/pm/pm_autoupdate.c:89:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   89 |           pm_auto_updatestate_cb((FAR void *)domain);
      |                                  ^
```

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2024-04-10 22:51:28 +08:00
..
activity_governor.c
CMakeLists.txt
greedy_governor.c
Kconfig
Make.defs
pm_activity.c
pm_autoupdate.c drivers/power/pm: Fix warning of type cast 2024-04-10 22:51:28 +08:00
pm_changestate.c
pm_checkstate.c
pm_governor.c
pm_initialize.c
pm_lock.c
pm_procfs.c
pm_register.c
pm_runtime.c
pm_unregister.c
pm.h