summaryrefslogtreecommitdiff
path: root/drivers/base/container.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-02-05 11:08:11 +0100
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-02-08 10:35:59 +0100
commitaab5c6f200238ac45001bec3d5494fff8438a8dc (patch)
treea45827c03f6404da265148774bfb2dc54c3c9215 /drivers/base/container.c
parenta875746f603b86134bd1924b7289fc3542fd45e7 (diff)
gpio: set device type for GPIO chips
It's useful to have the device type information for those sub-devices that are actually GPIO chips registered with GPIOLIB. While at it: use the device type struct to setup the release callback which is the preferred way to use the device API. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/container.c')
0 files changed, 0 insertions, 0 deletions