[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240408231727.396452-1-andriy.shevchenko@linux.intel.com>
Date: Tue, 9 Apr 2024 02:12:49 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>,
Kent Gibson <warthog618@...il.com>,
Linus Walleij <linus.walleij@...aro.org>,
linux-gpio@...r.kernel.org,
linux-acpi@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-wireless@...r.kernel.org,
brcm80211@...ts.linux.dev,
brcm80211-dev-list.pdl@...adcom.com
Cc: Mika Westerberg <mika.westerberg@...ux.intel.com>,
Bartosz Golaszewski <brgl@...ev.pl>,
Arend van Spriel <arend.vanspriel@...adcom.com>,
Kalle Valo <kvalo@...nel.org>,
Charles Keepax <ckeepax@...nsource.cirrus.com>
Subject: [PATCH v2 0/2] gpiolib: Fix gpio_lookup_flags mess and add Return sections
While reviewing another patch I have realised that enum
gpio_lookup_flags messes up with GPIO_* flags definitions.
Hence the first patch fix. Second one is an updated version
of adding Return sections to the kernel-doc.
The series is made in assumption that the patches will land in this
order, but if applied separately, e.g., one to for-current and one to
for-next branches, no conflicts should appear.
In v2:
- new patch 1
- replaces error-code by errno (Randy)
- added tags to patch 2 (Randy)
Andy Shevchenko (2):
gpiolib: Fix a mess with the GPIO_* flags
gpiolib: Update the kernel documentation - add Return sections
drivers/gpio/gpiolib-acpi.c | 22 ++-
drivers/gpio/gpiolib-cdev.c | 8 +-
drivers/gpio/gpiolib-devres.c | 44 ++++-
drivers/gpio/gpiolib-legacy.c | 3 +
drivers/gpio/gpiolib-of.c | 53 ++++--
drivers/gpio/gpiolib-swnode.c | 4 +-
drivers/gpio/gpiolib-sysfs.c | 6 +-
drivers/gpio/gpiolib.c | 165 ++++++++++++++----
.../broadcom/brcm80211/brcmsmac/led.c | 2 +-
include/linux/gpio/driver.h | 3 +-
include/linux/gpio/machine.h | 20 +--
11 files changed, 245 insertions(+), 85 deletions(-)
--
2.43.0.rc1.1.gbec44491f096
Powered by blists - more mailing lists