Tag: d0de6ff6b92665c10a93795e9d041a61f64431af

spi/atmel: fix simple_return.cocci warnings

Author: Fengguang Wu <fengguang.wu@intel.com> drivers/spi/spi-atmel.c:1518:1-4: WARNING: end returns can be simpified and declaration on line 1514 can be dropped Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci Signed-off-by: Fengguang Wu Signed-off-by: Mark Brown — drivers/spi/spi-atmel.c | 7 +—— 1 file changed, 1 insertion(+), 6 deletions(-)   diff –git …

Continue reading