]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: greybus: remove unnecessary GPIO line direction check
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 10 Jun 2025 15:20:36 +0000 (17:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2025 15:32:37 +0000 (17:32 +0200)
commit1b30f644f7e2b8d4352b7a796496c41f81aa72ed
treed2f766562aaa44b2efc0889c81cd83932ff9e1e7
parentb8394732ff0cc81551b0e3b442994622ebf389a7
staging: greybus: remove unnecessary GPIO line direction check

As of commit 92ac7de3175e3 ("gpiolib: don't allow setting values on input
lines"), the GPIO core makes sure values cannot be set on input lines.
Remove the unnecessary check.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Rui Miguel Silva <rui.silva@linaro.org>
Link: https://lore.kernel.org/r/20250610152036.86099-1-brgl@bgdev.pl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/gpio.c