summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/core.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-03-08 13:13:20 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2024-03-08 13:13:20 -0800
commit49deb2805fdcd366b7a9123cec7914b93b543f75 (patch)
treed12b59505724e58f70398a117421fafb9c58c46f /drivers/pinctrl/core.c
parent7a4f31c7765e63e3219eac1e822ab16df09f318c (diff)
parentf6443e0177a55f78e94ccc1a43eb63a023a0b6fd (diff)
downloadlinux-49deb2805fdcd366b7a9123cec7914b93b543f75.tar.gz
linux-49deb2805fdcd366b7a9123cec7914b93b543f75.tar.bz2
linux-49deb2805fdcd366b7a9123cec7914b93b543f75.zip
Merge tag 'pinctrl-v6.8-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
Pull pin control fixes from Linus Walleij: - Fix the PM suspend callback in the STM32 ST32MP257 driver to properly support suspend - Drop an extraneous reference put in the debugfs code, this was confusing the reference counts and causing unsolicited calls to __free() * tag 'pinctrl-v6.8-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: pinctrl: don't put the reference to GPIO device in pinctrl_pins_show() pinctrl: stm32: fix PM support for stm32mp257
Diffstat (limited to 'drivers/pinctrl/core.c')
-rw-r--r--drivers/pinctrl/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c
index ee56856cb80c..bbcdece83bf4 100644
--- a/drivers/pinctrl/core.c
+++ b/drivers/pinctrl/core.c
@@ -1644,7 +1644,7 @@ static int pinctrl_pins_show(struct seq_file *s, void *what)
const struct pinctrl_ops *ops = pctldev->desc->pctlops;
unsigned int i, pin;
#ifdef CONFIG_GPIOLIB
- struct gpio_device *gdev __free(gpio_device_put) = NULL;
+ struct gpio_device *gdev = NULL;
struct pinctrl_gpio_range *range;
int gpio_num;
#endif