arch: cxd56x: pmic: Fix a compile error

Replace undefined logerr to _err function.
This commit is contained in:
SPRESENSE 2021-07-04 12:55:00 +09:00 committed by Xiang Xiao
parent 5c26d68f31
commit 4738f69569
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ static int pmic_int_handler(int irq, void *context, void *arg)
ret = work_queue(LPWORK, &g_irqwork, pmic_int_worker, NULL, 0); ret = work_queue(LPWORK, &g_irqwork, pmic_int_worker, NULL, 0);
if (ret < 0) if (ret < 0)
{ {
logerr("ERROR: work_queue failed: %d\n", ret); _err("ERROR: work_queue failed: %d\n", ret);
} }
/* Disable any further pmic interrupts */ /* Disable any further pmic interrupts */