[PATCH v2 0/8] MediaTek SPI controller cleanups and documentation

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Thu Apr 7 04:44:20 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.

Changes in v2:
- Rebased over next-20220407 for new spimem commits

AngeloGioacchino Del Regno (8):
  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 clock parent setting to remove clock disable gotos
  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 | 368 ++++++++++++++++++---------------------
 1 file changed, 171 insertions(+), 197 deletions(-)

-- 
2.35.1




More information about the Linux-mediatek mailing list