mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] barco-p50-gpio: normalize return value of "get" and convert to guard()
@ 2026-03-19  2:56 Dmitry Torokhov
  2026-03-19  2:56 ` [PATCH v2 1/2] platform/x86: barco-p50-gpio: normalize return value of gpio_get Dmitry Torokhov
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Dmitry Torokhov @ 2026-03-19  2:56 UTC (permalink / raw)
  To: Ilpo Järvinen, Santosh Kumar Yadav
  Cc: Peter Korsgaard, Hans de Goede, Linus Walleij,
	Bartosz Golaszewski, platform-driver-x86, linux-kernel,
	linux-gpio

These 2 patches fixes a regression in the driver arising from gpiolib
tightening its API, and converts it to guard() notation when taking a
mutex to simplify the code flow.

v2:

- added reviiewed-by and fixes trailers
- added new patch using guard()

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
Dmitry Torokhov (2):
      platform/x86: barco-p50-gpio: normalize return value of gpio_get
      platform/x86: barco-p50-gpio: convert to guard() notation

 drivers/platform/x86/barco-p50-gpio.c | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)
---
base-commit: b84a0ebe421ca56995ff78b66307667b62b3a900
change-id: 20260318-barco-p50-gpio-set-c560daea533e

Thanks.

-- 
Dmitry


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

end of thread, other threads:[~2026-03-23 10:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-19  2:56 [PATCH v2 0/2] barco-p50-gpio: normalize return value of "get" and convert to guard() Dmitry Torokhov
2026-03-19  2:56 ` [PATCH v2 1/2] platform/x86: barco-p50-gpio: normalize return value of gpio_get Dmitry Torokhov
2026-03-19  9:45   ` Bartosz Golaszewski
2026-03-19  2:56 ` [PATCH v2 2/2] platform/x86: barco-p50-gpio: convert to guard() notation Dmitry Torokhov
2026-03-19  9:46   ` Bartosz Golaszewski
2026-03-23 10:47 ` [PATCH v2 0/2] barco-p50-gpio: normalize return value of "get" and convert to guard() Ilpo Järvinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®