mtd: cfi-flash: Coding style cleanup
- use consistent variable types (drop uchar, ushort and friends)
- remove whitespace between functions and opening brace
- Add some blank lines to rectify code
- drop 'rc' and 'retcode' and use 'ret' consistently
- Do not put variable assignment into if()
- drop unncessary braces

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6be93f2 commit 9746f02caed759f9ec0fcf4c9e8417d86af5a796
@Sascha Hauer Sascha Hauer authored on 22 Jun 2015
Showing 4 changed files
View
drivers/mtd/nor/cfi_flash.c
View
drivers/mtd/nor/cfi_flash.h
View
drivers/mtd/nor/cfi_flash_amd.c
View
drivers/mtd/nor/cfi_flash_intel.c