Add dev_warn_probe() and improve error handling in
authorMark Brown <broonie@kernel.org>
Thu, 10 Oct 2024 09:49:17 +0000 (10:49 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 10 Oct 2024 09:49:17 +0000 (10:49 +0100)
commiteaa59db7e96bbd8ca85546aa09381fa78ca1f1bd
treead28678f5971231cd4efd395eea62bcf472cb03b
parentb1258105f9ce5203f48a47fd2f2cec8c38c41841
parente2fc05873905f2ee96b38a116ae86f45fe7d8e49
Add dev_warn_probe() and improve error handling in

Merge series from Dragan Simic <dsimic@manjaro.org>:

This is a small series that introduces dev_warn_probe() function, which
produces warnings on failed resource acquisitions, and improves error
handling in the probe paths of Rockchip SPI drivers, by using functions
dev_err_probe() and dev_warn_probe() properly in multiple places.

This series also performs a bunch of small, rather trivial code cleanups,
to make the code neater and a bit easier to read.
drivers/spi/spi-rockchip.c