Re: [PATCH 2/2] gpio: latch: store the address of pdev->dev in a helper variable

From: Linus Walleij
Date: Fri Feb 14 2025 - 04:47:45 EST


On Tue, Feb 11, 2025 at 1:08 PM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:

> From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>
> Make the code a bit more readable by using a helper variable to store
> the address of pdev->dev in probe().
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij