aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2024-02-23 12:32:14 +0000
committerLinus Walleij <[email protected]>2024-02-29 13:36:40 +0000
commitf6443e0177a55f78e94ccc1a43eb63a023a0b6fd (patch)
treea88260a0f869a03859d8d562e502dd1f093e3ef9 /drivers/fpga/tests/fpga-mgr-test.c
parentpinctrl: stm32: fix PM support for stm32mp257 (diff)
downloadkernel-f6443e0177a55f78e94ccc1a43eb63a023a0b6fd.tar.gz
kernel-f6443e0177a55f78e94ccc1a43eb63a023a0b6fd.zip
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 <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions