lkml.org 
[lkml]   [2023]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v2 1/2] ASoC: Intel: maxim-common: get codec number from ACPI
Date
> 
> > + 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

\
 
 \ /
  Last update: 2023-07-27 05:19    [W:0.074 / U:1.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site