Re: [PATCH 2/3] gpio: xilinx: use helper variable to store the address of pdev->dev

From: Linus Walleij
Date: Wed Oct 02 2024 - 09:20:17 EST


On Mon, Sep 30, 2024 at 4:48 PM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:

> From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>
> For better readability don't repeatedly dereference pdev->dev but
> instead store the address of the embedded struct device in a local
> variable in probe().
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>

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

Yours,
Linus Walleij