mtd: denali: fix indents and other trivial things
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 16 Sep 2014 11:04:25 +0000 (20:04 +0900)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 19 Sep 2014 16:39:27 +0000 (09:39 -0700)
commit8125450cd855839c2f6d0eec86c560ffd02db374
treec75121f028577a010ea687116ecdad1a8c824739
parent7d14ecd050a43ff80ad284027a521390af1c29be
mtd: denali: fix indents and other trivial things

- Fix indents
- Do not break a line unless it is longer than 80 columns
- Do not insert a whitespace before ';'
- Use whitespaces around operators
- Use braces for a "else" block where the "if" block uses ones.

Besides, eliminate all the warnings reported by checkpatch.pl:
- WARNING: quoted string split across lines
- WARNING: else is not generally useful after a break or return
- WARNING: Missing a blank line after declarations
- WARNING: Avoid line continuations in quoted strings

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/denali.c