From: Mark Brown Date: Mon, 20 Mar 2023 18:49:58 +0000 (+0000) Subject: spi: imx: Fix cleanup in remove and convert to X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0df9f6cf9576558fb1aba8527a66775e96e2bd2b;p=linux.git spi: imx: Fix cleanup in remove and convert to Merge series from Uwe Kleine-König : This small series converts the spi-imx driver to .remove_new(). The motivation for this tree-wide effort are drivers that don't properly cleanup and return an error code. This is broken as this results in resource leaks. The spi-imx driver is such a driver. The idea is that if the remove callback returns void it's obvious that an early error return is wrong. --- 0df9f6cf9576558fb1aba8527a66775e96e2bd2b