linux-next: build warning after merge of the gpio tree
Subsystems (2)
Hi Linus,
After merging the gpio tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:
drivers/gpio/gpiolib.c:1514:12: warning: 'devm_gpio_chip_match' defined but not used [-Wunused-function]
static int devm_gpio_chip_match(struct device *dev, void *res, void *data)
^~~~~~~~~~~~~~~~~~~~
Caused by commit
48207d7595d2 ("gpio: drop devm_gpiochip_remove()")
Signature · 2 lines
Cheers, Stephen Rothwell
Hi Linus,
Quoted 10 lines · Stephen Rothwell
After merging the gpio tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:
drivers/gpio/gpiolib.c:1514:12: warning: 'devm_gpio_chip_match' defined but not used [-Wunused-function]
static intdevm_gpio_chip_match(struct device *dev, void *res, void *data)^~~~~~~~~~~~~~~~~~~~Caused by commit
48207d7595d2("gpio: dropdevm_gpiochip_remove()")
I noticed this, too, but didn't tell immediately because I thought I'd have to resent this patch and then forgot as you applied yourself.
Sorry for that, the obvious resolution is to drop devm_gpio_chip_match(). Feel free to squash that into 48207d7595d2. If your branch is already stable I can provide a patch for that.
Thanks
Uwe
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ |