arch: cxd56xx: charger: Use the dedicated debug macro

Replace to the battery dedicated debug macro instead of standard one.
This commit is contained in:
SPRESENSE 2021-05-19 17:04:34 +09:00 committed by Alin Jerpelea
parent bb348cc464
commit 50cb0306b6

View File

@ -672,7 +672,7 @@ int cxd56_charger_initialize(FAR const char *devpath)
ret = register_driver(devpath, &g_chargerops, 0666, priv);
if (ret < 0)
{
_err("ERROR: register_driver failed: %d\n", ret);
baterr("ERROR: register_driver failed: %d\n", ret);
return -EFAULT;
}