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)
commit2ce886f1492fa7a4d335d55dcfc622f600da279c
tree78787b2d05d3cb304d44674590371d3ae6feeb27
parentbf89d139e1cf6029eeab39bd06f8ad2f5bc1c739
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