diff options
author | Heiner Kallweit <heiner.kallweit@web.de> | 2016-09-17 15:43:31 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-09-24 20:48:32 +0200 |
commit | 604042af7697314fffb16e266fd7d5ad488439cc (patch) | |
tree | e13c123f2e2dd91c55f6a7e33933da26cf04b262 /drivers/spi/Kconfig | |
parent | spi: fsl-espi: simplify of_fsl_espi_probe (diff) | |
download | linux-604042af7697314fffb16e266fd7d5ad488439cc.tar.xz linux-604042af7697314fffb16e266fd7d5ad488439cc.zip |
spi: fsl-espi: improve return value handling in fsl_espi_probe
The return value of fsl_espi_probe (currently struct spi_master *)
is just used for checking whether an error occurred.
Change the return value type to int and simplify the code.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/Kconfig')
0 files changed, 0 insertions, 0 deletions