On Wed, Sep 18, 2019 at 10:24 AM Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > > On Tue, Sep 17, 2019 at 6:14 PM Linus Torvalds > <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > > > > Famous last words. I now get a new warning: > > > > drivers/i2c/i2c-core-acpi.c:347:12: warning: > > ‘i2c_acpi_find_match_adapter’ defined but not used [-Wunused-function] > > Commit 00500147cbd3 ("drivers: Introduce device lookup variants by > ACPI_COMPANION device") removed the use of that matching function, but > didn't remove the function. > > It also removed the use of i2c_acpi_find_match_device(), but in that > case it _did_ remove the function. I hope you have a chance to read my previous email. We still need that function. -- With Best Regards, Andy Shevchenko