diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-02-05 11:08:11 +0100 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-02-08 10:35:59 +0100 |
commit | aab5c6f200238ac45001bec3d5494fff8438a8dc (patch) | |
tree | a45827c03f6404da265148774bfb2dc54c3c9215 /drivers/base/container.c | |
parent | a875746f603b86134bd1924b7289fc3542fd45e7 (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