diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-06-24 15:31:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-01 12:29:37 +0200 |
commit | bd80e3ccd6e7485218cc47fbee60db43be86977e (patch) | |
tree | d0f450c33104cd578779d7b90f83344f89ac4503 /rust/kernel/platform.rs | |
parent | 12c409aa1ec2592280a2ddcc66ff8f3c7f7bb171 (diff) |
greybus: gb-beagleplay: remove unneeded calls to devm_gpiod_put()
gb_fw_init() is only called in this driver's probe() and we abort the
probing if it fails. This means that calling devm_gpiod_put() in error
path is not required as devres will already manage the releasing of the
resources when the device is detached.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20250624133140.77980-1-brgl@bgdev.pl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/kernel/platform.rs')
0 files changed, 0 insertions, 0 deletions