OSDN Git Service

gpiolib: Warn on drivers still using static gpiobase allocation
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 2 Sep 2022 12:42:04 +0000 (14:42 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 17 Oct 2022 09:02:54 +0000 (11:02 +0200)
commit502df79b860563d79143be7a1453c2b3224cd836
tree29eab90018c39084f7cb9269005298cafb1bc5fa
parent95e827a1b0b7c8334d24da7b4a2d17ec5aa7374c
gpiolib: Warn on drivers still using static gpiobase allocation

In the preparation of getting completely rid of static gpiobase
allocation in the future, emit a warning in drivers still doing so.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpiolib.c