[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250408-gpiochip-set-rv-regulator-v1-0-a18b6154b31a@linaro.org>
Date: Tue, 08 Apr 2025 09:36:27 +0200
From: Bartosz Golaszewski <brgl@...ev.pl>
To: Liam Girdwood <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>
Cc: linux-kernel@...r.kernel.org, linux-gpio@...r.kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Subject: [PATCH 0/4] regulator: rpi-panel-attiny: use new GPIO line value
setter callbacks
struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. We're in the process of
converting all GPIO drivers to using the new API. This series converts
the only GPIO controller under drivers/regulator/ and - while at it -
refactors the code a bit.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
---
Bartosz Golaszewski (4):
regulator: rpi-panel-attiny: don't double-check GPIO range
regulator: rpi-panel-attiny: use devres for mutex management
regulator: rpi-panel-attiny: use lock guards for the state mutex
regulator: rpi-panel-attiny: use new GPIO line value setter callbacks
drivers/regulator/rpi-panel-attiny-regulator.c | 81 +++++++++-----------------
1 file changed, 28 insertions(+), 53 deletions(-)
---
base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8
change-id: 20250331-gpiochip-set-rv-regulator-e12b909f5af7
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Powered by blists - more mailing lists