Subject: linux-next: build warning after merge of the driver-core tree

From: Stephen Rothwell <[email-masked]>
Date: Thu, 1 Aug 2019 15:05:37 +1000

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")

-- 
Cheers,
Stephen Rothwell