OSDN Git Service

staging: xillybus: fix some coding style errors
authorVincent Bernat <vincent@bernat.im>
Wed, 16 Jul 2014 13:19:42 +0000 (15:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:27:06 +0000 (13:27 -0700)
commit91d421945b02c8ac611481c3ec1008d30ecb9b5f
tree889d368302b42fc1362b34e6cc4d157f86b52d12
parent4168ac9db7ee98634e7fa15c58ec2165ab80e1a0
staging: xillybus: fix some coding style errors

This includes:
 - keep "else" on the same line as the closing brace
 - don't use "else" after "return"
 - don't issue a message for an out-of-memory error
 - blank line after a declaration

Signed-off-by: Vincent Bernat <vincent@bernat.im>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xillybus/xillybus_core.c