RE: [PATCH v2 1/2] ASoC: Intel: maxim-common: get codec number from ACPI

From: Lu, Brent
Date: Wed Jul 26 2023 - 23:18:54 EST


>
> > + pr_err("invalid codec number %d for %s\n", num_codecs,
> > + MAX_98390_ACPI_HID);
>
> I believe you have struct device pointer available, use dev_err().
>

Fixed in V3 patch. Thanks.

Regards,
Brent