spi: lpspi: Remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Thu, 8 Sep 2022 01:04:29 +0000 (01:04 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 8 Sep 2022 10:39:47 +0000 (11:39 +0100)
commit014eac3e93515ef37a794b1880340efd616d5768
treec2980ff62bbabef284baa3bb417cda690846b6d2
parent5e0531f6b90ac096fedaf5bd0eae0bb4e5a39da5
spi: lpspi: Remove the unneeded result variable

Return the value pm_runtime_force_suspend() directly instead of storing
it in another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/20220908010429.342875-1-ye.xingchen@zte.com.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-lpspi.c