mbox series

[0/2] memory: omap-gpmc: improve the GPIO chip implementation

Message ID 20250407-gpiochip-set-rv-memory-v1-0-5ab0282a9da7@linaro.org (mailing list archive)
Headers show
Series memory: omap-gpmc: improve the GPIO chip implementation | expand

Message

Bartosz Golaszewski April 7, 2025, 7:21 a.m. UTC
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. However, this
driver doesn't even need the set() callback so let's remove it
altogether.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
Bartosz Golaszewski (2):
      memory: omap-gpmc: use the dedicated define for GPIO direction
      memory: omap-gpmc: remove GPIO set() and direction_output() callbacks

 drivers/memory/omap-gpmc.c | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
---
base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8
change-id: 20250327-gpiochip-set-rv-memory-87bf23c66b7a

Best regards,

Comments

Krzysztof Kozlowski April 15, 2025, 6:20 a.m. UTC | #1
On Mon, 07 Apr 2025 09:21:18 +0200, Bartosz Golaszewski wrote:
> 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. However, this
> driver doesn't even need the set() callback so let's remove it
> altogether.
> 
> 
> [...]

Applied, thanks!

[1/2] memory: omap-gpmc: use the dedicated define for GPIO direction
      https://git.kernel.org/krzk/linux-mem-ctrl/c/a63f9903a56fabe17a0c71dd0c291499d28214c5
[2/2] memory: omap-gpmc: remove GPIO set() and direction_output() callbacks
      https://git.kernel.org/krzk/linux-mem-ctrl/c/1f34b5a9f09696eaf464c6ed06a055ed9cde3425

Best regards,