regulator: fix warning in RPIu32

Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
This commit is contained in:
zhuyanlin 2021-12-27 11:18:35 +08:00 committed by Xiang Xiao
parent 540c6f8c39
commit c5aca37f8f

View File

@ -821,7 +821,7 @@ void regulator_unregister(FAR struct regulator_dev_s *rdev)
nxsem_wait_uninterruptible(&g_reg_sem);
if (rdev->open_count)
{
pwrerr("unregister, open %PRIu32\n", rdev->open_count);
pwrerr("unregister, open %" PRIu32 "\n", rdev->open_count);
nxsem_post(&g_reg_sem);
return;
}