[PATCH] SPI: Unify simple platform data for some controllers

Arnd Bergmann arnd at arndb.de
Wed May 29 03:56:00 EDT 2013


On Wednesday 29 May 2013 10:42:22 Alexander Shiyan wrote:
> This patch unifies simple pdata for some SPI controllers where only
> array of GPIOs is used for define chipselects.
> 
> Signed-off-by: Alexander Shiyan <shc_work at mail.ru>

Wouldn't it be better to kill off the platform_data for these drivers
and pass the gpio number through spi->controller_data as the
spi_gpio driver does?

	Arnd



More information about the linux-arm-kernel mailing list