Patch #1 fix a UAF in mchp_corespi_remove(). Patch #2 and #3 some cleanups to simpify code. v1 -> v2: add patch #3 to use dev_err_probe to simpify code. Yang Yingliang (3): spi: microchip-core: fix UAF in mchp_corespi_remove() spi: microchip-core: switch to use devm_spi_alloc_master() spi: microchip-core: switch to use dev_err_probe() drivers/spi/spi-microchip-core.c | 56 ++++++++++++-------------------- 1 file changed, 20 insertions(+), 36 deletions(-) -- 2.25.1