Re: linux-next: build warning after merge of the mfd tree

From: Lee Jones
Date: Tue Jun 05 2018 - 02:55:21 EST


On Tue, 05 Jun 2018, Stephen Rothwell wrote:

> Hi Lee,
>
> After merging the mfd tree, today's linux-next build (x86_64 allmodconfig)
> produced this warning:
>
> drivers/mfd/cros_ec_dev.c:265:13: warning: '__remove' defined but not used [-Wunused-function]
> static void __remove(struct device *dev) { }
> ^~~~~~~~
>
> Introduced by commit
>
> 3aa2177e4787 ("mfd: cros_ec: Use devm_kzalloc for private data")

Thanks Stephen. Will chase today.

--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog