Commit d036ae41 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski
Browse files

gpio: grgpio: use a helper variable to store the address of ofdev->dev

Instead of dereferencing the platform device pointer repeatedly, just
store its address in a helper variable.

Link: https://lore.kernel.org/r/20241015131832.44678-3-brgl@bgdev.pl


Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent 537ec282
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment