Re: [PATCH v1 1/1] ASoC: tas2781: Switch to use %ptTs
From: Andy Shevchenko
Date: Thu Feb 06 2025 - 14:01:10 EST
On Thu, Feb 06, 2025 at 06:23:39PM +0200, Andy Shevchenko wrote:
> Use %ptTs instead of open-coded variant to print contents of time64_t type
> in human readable form.
...
> - time64_to_tm(tmp_val[20], 0, tm);
> - dev_dbg(tas_priv->dev, "%4ld-%2d-%2d, %2d:%2d:%2d\n",
> - tm->tm_year, tm->tm_mon, tm->tm_mday,
> - tm->tm_hour, tm->tm_min, tm->tm_sec);
> + dev_dbg(tas_priv->dev, "%ptTsr\n", tmp_val[20]);
Urgh, this should be a pointer, I will update this soon.
--
With Best Regards,
Andy Shevchenko