gpio: mark unsafe gpio_chip manipulators as deprecated
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 24 Jan 2024 18:27:39 +0000 (19:27 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 12 Feb 2024 10:00:55 +0000 (11:00 +0100)
commit5e6284444024cf7e7d0ae538df8037a3a5efbec8
treec801506d1ccddd5928dd13fdcaf3e3ee247e89fe
parentf067372c6a3c3b0c5cc775157408970b8fa6c010
gpio: mark unsafe gpio_chip manipulators as deprecated

We still have some functions that return the address of the GPIO chip
associated with the GPIO device. This is dangerous and the users should
find a better solution. Let's add appropriate comments to the kernel
docs.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpiolib.c