]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gpio: 74x164: shrink code
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 17 Oct 2024 15:08:35 +0000 (17:08 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 21 Oct 2024 07:23:20 +0000 (09:23 +0200)
commitdacd8ed24c01e26c9b1f76189222cac8982fb75f
tree7e5e7cb98204fb504ec0dcc573a186ff0c0ba829
parenta0b6594e411dcae0cc563f5157cf062e93603388
gpio: 74x164: shrink code

Use managed helpers to drop the goto label from probe() and shrink the
remove() callback.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20241017150835.105676-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-74x164.c