spi: xilinx_spi: Driver clean-up
authorJagan Teki <jteki@openedev.com>
Fri, 26 Jun 2015 19:21:27 +0000 (00:51 +0530)
committerJagan Teki <jteki@openedev.com>
Wed, 1 Jul 2015 15:45:02 +0000 (21:15 +0530)
commita7b6ef05bfc4b219436ceb7d078f78c489170b28
treecd03a19bf7175edfe2d78b7c0c108dfd8c3be178
parentf93542a87354c0cb94b3001a9830cd1b122b786b
spi: xilinx_spi: Driver clean-up

- Zap unneeded macros
- Re-arrange the code
- Removed __attribute__((weak))
- Replace __func__ macro with func names to save macro transition.
- Re-arranged comment lines.
- Arrange driver code in more readable format[1]

[1]  http://patchwork.ozlabs.org/patch/265683/

Signed-off-by: Jagan Teki <jteki@openedev.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
drivers/spi/xilinx_spi.c