[GIT PULL] gpio: fixes for v6.1

From: Bartosz Golaszewski
Date: Thu Dec 08 2022 - 13:41:22 EST


From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>

Linus,

Here's the last PR with fixes for this release from the GPIO subsystem.
This is the same PR as last week sans the character device changes and with
one more tiny resource leak fix.

Please pull,
Bartosz Golaszewski

The following changes since commit b7b275e60bcd5f89771e865a8239325f86d9927d:

Linux 6.1-rc7 (2022-11-27 13:31:48 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v6.1

for you to fetch changes up to 63ff545af73f759d1bd04198af8ed8577fb739fc:

gpio/rockchip: fix refcount leak in rockchip_gpiolib_register() (2022-12-06 10:10:46 +0100)

----------------------------------------------------------------
gpio fixes for v6.1

- fix a memory leak in gpiolib core
- fix reference leaks in gpio-amd8111 and gpio-rockchip

----------------------------------------------------------------
Wang Yufen (1):
gpio/rockchip: fix refcount leak in rockchip_gpiolib_register()

Xiongfeng Wang (1):
gpio: amd8111: Fix PCI device reference count leak

Zeng Heng (1):
gpiolib: fix memory leak in gpiochip_setup_dev()

drivers/gpio/gpio-amd8111.c | 4 ++++
drivers/gpio/gpio-rockchip.c | 1 +
drivers/gpio/gpiolib.c | 42 ++++++++++++++++++++++++++----------------
3 files changed, 31 insertions(+), 16 deletions(-)