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

From: AngeloGioacchino Del Regno
Date: Thu Apr 07 2022 - 07:44:44 EST


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