spi: improve devicetree support
- zero spi_board_info structure to not accidently pass
  unitilialized fields
- parse spi-max-frequency property from devicetree
- parse mode flags from devicetree

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 4b77e45 commit 56dd3c6c2ad2037a7877eafb6f1d4dab76def67b
@Sascha Hauer Sascha Hauer authored on 18 May 2013
Showing 1 changed file
View
drivers/spi/spi.c