regulator: fix warning in RPIu32
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
This commit is contained in:
parent
540c6f8c39
commit
c5aca37f8f
@ -821,7 +821,7 @@ void regulator_unregister(FAR struct regulator_dev_s *rdev)
|
|||||||
nxsem_wait_uninterruptible(&g_reg_sem);
|
nxsem_wait_uninterruptible(&g_reg_sem);
|
||||||
if (rdev->open_count)
|
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);
|
nxsem_post(&g_reg_sem);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user