spi: designware_spi: Some fixes / changes
authorStefan Roese <sr@denx.de>
Sun, 16 Nov 2014 11:47:01 +0000 (12:47 +0100)
committerMarek Vasut <marex@denx.de>
Sat, 6 Dec 2014 12:52:47 +0000 (13:52 +0100)
commita72f80208dcfc1ab03e4737861bd65eedd64cadf
tree0fc2c21e5bec0e749f902d8dcd1ac99654ba2d44
parent481549f8c1fa3a40729d0ff15c25380a043b6d41
spi: designware_spi: Some fixes / changes

As suggested by Pavel, here some fixes to the designware SPI driver:

- Spelling fixes
- Comment for timeout added
- Removed n_bytes completely (bits_per_word is enough for this)
- Unput clock now not defined via macro. The function to
  get the clock value is now called directly from within the driver

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Vince Bridgers <vbridger@altera.com>
Cc: Marek Vasut <marex@denx.de>
Acked-by: Pavel Machek <pavel@denx.de>
Cc: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
drivers/spi/designware_spi.c