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

From: Bartosz Golaszewski
Date: Mon Oct 14 2024 - 04:32:59 EST


From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>


On Wed, 09 Oct 2024 18:29:09 +0200, Bartosz Golaszewski wrote:
> Instead of repeatedly dereferencing pdev, just store the address of the
> embedded struct device in a local variable and use it instead for
> improved readability.
>
> While at it: rearrange variable declarations.
>
>
> [...]

Applied, thanks!

[1/2] gpio: mpc8xxx: use a helper variable to store the address of pdev->dev
commit: 2707a028c9b9c54a6dff22c9dcfebf3083ea095e
[2/2] gpio: mpc8xxx: use generic device_is_compatible()
commit: a937ee6d7eba055226fba300e17ade6f65de6d93

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>