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

From: Stephen Rothwell
Date: Thu Aug 01 2019 - 01:05:44 EST


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

Attachment: pgpoKjzZYedP1.pgp
Description: OpenPGP digital signature