summaryrefslogtreecommitdiff
path: root/drivers/hv/hv_util.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-02-23 13:32:14 +0100
committerLinus Walleij <linus.walleij@linaro.org>2024-02-29 14:36:40 +0100
commitf6443e0177a55f78e94ccc1a43eb63a023a0b6fd (patch)
treea88260a0f869a03859d8d562e502dd1f093e3ef9 /drivers/hv/hv_util.c
parentcb4443f26b43efa54494b8de8a50457febb06940 (diff)
pinctrl: don't put the reference to GPIO device in pinctrl_pins_show()
The call to gpiod_to_gpio_device() does not increase the reference count of the GPIO device struct so it must not be decreased. Remove the buggy __free() decorator. Fixes: 524fc108b895 ("pinctrl: stop using gpiod_to_chip()") Reported-by: David Arcari <darcari@redhat.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Link: https://lore.kernel.org/r/20240223123214.288181-1-brgl@bgdev.pl Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/hv/hv_util.c')
0 files changed, 0 insertions, 0 deletions