Re: [PATCH v1] ACPI: bus: Eliminate acpi_bus_get_device()
From: Rafael J. Wysocki
Date: Wed Apr 06 2022 - 10:41:42 EST
On Wed, Apr 6, 2022 at 3:48 AM Mark Brown <broonie@xxxxxxxxxx> wrote:
>
> On Tue, Apr 05, 2022 at 06:57:10PM +0200, Rafael J. Wysocki wrote:
> > From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> >
> > Replace the last instance of acpi_bus_get_device(), added recently
> > by commit 87e59b36e5e2 ("spi: Support selection of the index of the
> > ACPI Spi Resource before alloc"), with acpi_fetch_acpi_dev() and
> > finally drop acpi_bus_get_device() that has no more users.
>
> Acked-by: Mark Brown <broonie@xxxxxxxxxx>
Thanks!
> Or I can take this via the SPI tree?
I'm going to push this for -rc2 so acpi_bus_get_device() is not there
in case somebody has a plan to use it again. :-)