sf: dataflash: Minor cleanups
authorJagan Teki <jagan@openedev.com>
Sun, 30 Oct 2016 17:46:30 +0000 (23:16 +0530)
committerJagan Teki <jagan@openedev.com>
Sat, 19 Nov 2016 03:11:54 +0000 (08:41 +0530)
commit25488ec193fe111ce67f813d8223cd328ee152b2
tree6674aa98b66eaaa7594cc305c38529514b5b6704
parent11b93228a7c537b7a36f1d96b3061f5d74f01320
sf: dataflash: Minor cleanups

- fix single line comments
- remove unneeded spaces
- ascending order of include files
- rename SPI DATAFLASH to dataflash
- rename SPI DataFlash to dataflash
- return NULL replaced with error code

Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: York Sun <york.sun@nxp.com>
Signed-off-by: Jagan Teki <jagan@openedev.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/mtd/spi/sf_dataflash.c