ramips: clean up rt2880 spi probe/remove
authorJohn Crispin <john@openwrt.org>
Sun, 22 Nov 2015 11:48:45 +0000 (11:48 +0000)
committerJohn Crispin <john@openwrt.org>
Sun, 22 Nov 2015 11:48:45 +0000 (11:48 +0000)
commit0f3a30f548e8e4553c578f8f54ee614e386917c8
tree3ae1d2b35426a1b6f4e081fec57fbee45594ec43
parentc018ba485ce6ac25743d141d5c7b4ace14699746
ramips: clean up rt2880 spi probe/remove

* fill struct according to the member order
* add error clean up
* set min/max spi speed. so we don't need to check again

Signed-off-by: Michael Lee <igvtee@gmail.com>
SVN-Revision: 47576
target/linux/ramips/patches-3.18/0050-SPI-ralink-add-Ralink-SoC-spi-driver.patch