gpiolib: Remove data-less gpiochip_add() function
authorAndrew Davis <afd@ti.com>
Mon, 10 Jun 2024 13:53:13 +0000 (08:53 -0500)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 11 Jun 2024 20:06:27 +0000 (22:06 +0200)
commit3ff1180a39fbc43ae69d4238e6922c57e3278910
treef87621626e941a127fb3ad4d5e3ff04e07b7d04d
parent413427153921ac8263d3a516bfbdaa42fa058085
gpiolib: Remove data-less gpiochip_add() function

GPIO chips should be added with driver-private data associated with the
chip. If none is needed, NULL can be used. All users already do this
except one, fix that here. With no more users of the base gpiochip_add()
we can drop this function so no more users show up later.

Signed-off-by: Andrew Davis <afd@ti.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20240610135313.142571-1-afd@ti.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Documentation/driver-api/gpio/driver.rst
drivers/staging/greybus/gpio.c
include/linux/gpio/driver.h