[PATCH 0/7] MediaTek SPI controller cleanups and documentation

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Wed Apr 6 03:04:02 PDT 2022


This series performs some cleanups to the spi-mt65xx driver, removing
all gotos, simplifying the probe function and adding kerneldoc to the
driver structures.

AngeloGioacchino Del Regno (7):
  spi: mt65xx: Simplify probe function with devm_spi_alloc_master
  spi: mt65xx: Switch to device_get_match_data()
  spi: mt65xx: Add and use pointer to struct device in mtk_spi_probe()
  spi: mt65xx: Move pm_runtime_enable() call to remove all gotos
  spi: mt65xx: Simplify probe function with dev_err_probe()
  spi: mt65xx: Add kerneldoc for driver structures
  spi: mt65xx: Fix definitions indentation

 drivers/spi/spi-mt65xx.c | 315 ++++++++++++++++++---------------------
 1 file changed, 145 insertions(+), 170 deletions(-)

-- 
2.35.1




More information about the Linux-mediatek mailing list