brcm80211.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] gpiolib: Fix gpio_lookup_flags mess and add Return sections
@ 2024-04-08 23:12 Andy Shevchenko
  2024-04-08 23:12 ` [PATCH v2 1/2] gpiolib: Fix a mess with the GPIO_* flags Andy Shevchenko
  2024-04-08 23:12 ` [PATCH v2 2/2] gpiolib: Update the kernel documentation - add Return sections Andy Shevchenko
  0 siblings, 2 replies; 25+ messages in thread
From: Andy Shevchenko @ 2024-04-08 23:12 UTC (permalink / raw)
  To: Andy Shevchenko, Bartosz Golaszewski, Kent Gibson, Linus Walleij,
	linux-gpio, linux-acpi, linux-kernel, linux-wireless, brcm80211,
	brcm80211-dev-list.pdl
  Cc: Mika Westerberg, Bartosz Golaszewski, Arend van Spriel,
	Kalle Valo, Charles Keepax

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


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2024-04-19 13:38 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-08 23:12 [PATCH v2 0/2] gpiolib: Fix gpio_lookup_flags mess and add Return sections Andy Shevchenko
2024-04-08 23:12 ` [PATCH v2 1/2] gpiolib: Fix a mess with the GPIO_* flags Andy Shevchenko
2024-04-09  4:38   ` kernel test robot
2024-04-09  8:12   ` kernel test robot
2024-04-09  9:42   ` Bartosz Golaszewski
2024-04-09 12:51     ` Andy Shevchenko
2024-04-09 12:55       ` Bartosz Golaszewski
2024-04-09 13:30         ` Andy Shevchenko
2024-04-12  8:20   ` Linus Walleij
2024-04-12 15:25     ` Andy Shevchenko
2024-04-12 19:43       ` Bartosz Golaszewski
2024-04-16 12:22         ` Linus Walleij
2024-04-16 14:05           ` Andy Shevchenko
2024-04-16 21:07             ` Bartosz Golaszewski
2024-04-17  8:45               ` Andy Shevchenko
2024-04-17 18:39                 ` Bartosz Golaszewski
2024-04-18 11:52                   ` Andy Shevchenko
2024-04-19 13:29                   ` Linus Walleij
2024-04-19 13:38                     ` Andy Shevchenko
2024-04-08 23:12 ` [PATCH v2 2/2] gpiolib: Update the kernel documentation - add Return sections Andy Shevchenko
2024-04-09 12:51   ` Andy Shevchenko
2024-04-09 14:01     ` Bartosz Golaszewski
2024-04-09 14:06       ` Andy Shevchenko
2024-04-09 14:18         ` Bartosz Golaszewski
2024-04-09 14:29           ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).