Re: linux-next: build warning after merge of the driver-core tree
From: Greg KH
Date: Thu Aug 01 2019 - 02:10:56 EST
On Thu, Aug 01, 2019 at 03:05:37PM +1000, Stephen Rothwell wrote:
> Hi all,
>
> After merging the driver-core tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> drivers/i2c/i2c-core-acpi.c:347:12: warning: 'i2c_acpi_find_match_adapter' defined but not used [-Wunused-function]
> static int i2c_acpi_find_match_adapter(struct device *dev, const void *data)
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Introduced by commit
>
> 00500147cbd3 ("drivers: Introduce device lookup variants by ACPI_COMPANION device")
Oops, missed that one.
Suzuki, can you send a follow-on patch to fix this up?
thanks,
greg k-h