diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-07-09 03:07:08 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-07-11 14:06:40 +0300 |
commit | b6747f4fba399a73a87fac80ac1d0c952a44b222 (patch) | |
tree | 35ffacfece08d5e8c35b92cf596b433968963fdc /drivers/spi/spi-sun4i.c | |
parent | 9c22ec4ac27bcc5a54dd406da168f403327a5b55 (diff) | |
download | linux-b6747f4fba399a73a87fac80ac1d0c952a44b222.tar.xz |
spi: propagate error code to the caller of acpi_spi_device_alloc()
Since acpi_spi_device_alloc() has been designed to return an error
pointer we may now properly propagate error codes to the caller of
it. It helps debugging a lot.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220709000709.35622-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-sun4i.c')
0 files changed, 0 insertions, 0 deletions