On Thu, Sep 26, 2019 at 07:09:05PM +0300, Schmauss, Erik wrote:
> > -----Original Message-----
> > From: Nikolaus Voss <nikolaus.v...@loewensteinmedical.de>
> > Sent: Thursday, September 12, 2019 1:08 AM
> > To: Shevchenko, Andriy <andriy.shevche...@intel.com>; Schmauss, Erik
> > <erik.schma...@intel.com>; Rafael J. Wysocki <r...@rjwysocki.net>; Moore,
> > Robert <robert.mo...@intel.com>
> > Cc: Len Brown <l...@kernel.org>; Jacek Anaszewski
> > <jacek.anaszew...@gmail.com>; Pavel Machek <pa...@ucw.cz>; Dan Murphy
> > <dmur...@ti.com>; linux-a...@vger.kernel.org; de...@acpica.org; linux-
> > ker...@vger.kernel.org; n...@vosn.de; Nikolaus Voss
> > <nikolaus.v...@loewensteinmedical.de>
> > Subject: [PATCH] ACPICA: make acpi_load_table() return table index
> > 
> Hi Nikolaus,
> 
> > For unloading an ACPI table, it is necessary to provide the index of the 
> > table.
> > The method intended for dynamically loading or hotplug addition of tables,
> > acpi_load_table(), should provide this information via an optional pointer 
> > to
> > the loaded table index.
> 
> We'll take this patch for ACPICA upstream

Erik,

how about to have also counterpart to acpi_load_table() which will do
what it's done now in acpi_configfs.c via acpi_tb_*() API?

Because it's kinda strange to call acpi_load_table*() and acpi_tb_*()
in the same module.

-- 
With Best Regards,
Andy Shevchenko


Reply via email to