Files
android_kernel_xiaomi_sm8450/drivers/spi
Andi Shyti 730d9d4d11 spi: s3c64xx: simplify if statement in prepare_transfer function
The whole function is inside an 'if' statement
("!is_polling(sdd)").

Check the opposite of that statement at the beginning and exit,
this way we can have one level less of indentation.

Remove the goto paths as they are redundant.

Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-06-29 22:45:23 +01:00
..
2015-12-07 20:09:09 +00:00
2011-06-06 01:16:30 -06:00
2011-06-06 01:16:30 -06:00
2014-12-22 15:32:42 +00:00