spi: microchip-core: fix and cleanups
authorMark Brown <broonie@kernel.org>
Wed, 13 Jul 2022 14:19:13 +0000 (15:19 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 13 Jul 2022 14:19:13 +0000 (15:19 +0100)
commit1ed34d367bad6329d656c9b6808b16cec3bfe040
tree69908246eb9d37fad9175a0bdcda5c2ad7589361
parent7e9984d183bb1e99e766c5c2b950ff21f7f7b6c0
parentcdeaf3a99a02b6f8566bcaacc9c3501c6cceda74
spi: microchip-core: fix and cleanups

Merge series from Yang Yingliang <yangyingliang@huawei.com>:

Patch #1 fix a UAF in mchp_corespi_remove().
Patch #2 and #3 some cleanups to simpify code.