Re: [PATCH v3] spi: bcm2835: reduce the abuse of the GPIO API

From: Bartosz Golaszewski
Date: Mon Sep 11 2023 - 16:51:50 EST


On Mon, Sep 11, 2023 at 6:15 PM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
>
> From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>
> Currently the bcm2835 SPI driver uses functions that are available
> exclusively to GPIO providers as a way to handle a platform quirk. Let's
> use a slightly better alternative that avoids poking around in GPIOLIB's
> internals and use GPIO lookup tables.
>
> Link: https://www.spinics.net/lists/linux-gpio/msg36218.html
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
> ---

Gah, Linus already left his review tag.

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