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

Bartosz Golaszewski brgl at bgdev.pl
Mon Sep 11 09:17:20 PDT 2023


On Mon, Sep 11, 2023 at 6:15 PM Bartosz Golaszewski <brgl at bgdev.pl> wrote:
>
> From: Bartosz Golaszewski <bartosz.golaszewski at linaro.org>
>
> 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 at linaro.org>
> ---

Gah, Linus already left his review tag.

For the record:
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>



More information about the linux-arm-kernel mailing list