Re: [PATCH v2] spi: mpc512x-psc: Convert to use GPIO descriptors

2022-01-31 Thread Mark Brown
On Thu, 20 Jan 2022 01:26:00 +0100, Linus Walleij wrote: > This driver is already relying on the core to provide > valid GPIO numbers in spi->cs_gpio through > of_spi_get_gpio_numbers(), so we can switch to letting > the core use GPIO descriptors instead. > > The driver was assigning a local funct

[PATCH v2] spi: mpc512x-psc: Convert to use GPIO descriptors

2022-01-19 Thread Linus Walleij
This driver is already relying on the core to provide valid GPIO numbers in spi->cs_gpio through of_spi_get_gpio_numbers(), so we can switch to letting the core use GPIO descriptors instead. The driver was assigning a local function to the custom chipselect callback, but I chose to just open code