Re: [PATCH v1 1/1] drivers/perf: thunderx2_pmu: Replace open coded acpi_match_device()

From: Andy Shevchenko
Date: Fri Jul 01 2022 - 07:38:59 EST


On Fri, Jul 1, 2022 at 1:33 PM Will Deacon <will@xxxxxxxxxx> wrote:
> On Thu, Jun 30, 2022 at 10:51:03PM +0300, Andy Shevchenko wrote:
> > Replace open coded acpi_match_device() in get_tx2_pmu_type().

> This doesn't even build for me:

Neither to me :-(

> Have you tested this at all?

It was a last minute change from __acpi_match_device() to
acpi_match_device() where arguments were swapped and obviously this
wasn't properly tested, sorry.

--
With Best Regards,
Andy Shevchenko