]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gpio: latch: store the address of pdev->dev in a helper variable
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 11 Feb 2025 12:08:47 +0000 (13:08 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 17 Feb 2025 13:27:35 +0000 (14:27 +0100)
commit8efee9c43127662b7642e0146aba8d31606277e1
tree96c9683dc4a046482dabdc10af87edd98abe2281
parent3150619d1a14d920463107bd18fe4d566f2ee05a
gpio: latch: store the address of pdev->dev in a helper variable

Make the code a bit more readable by using a helper variable to store
the address of pdev->dev in probe().

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