From: Axel Lin Date: Sun, 2 Mar 2014 15:01:50 +0000 (+0800) Subject: spi: sh-hspi: Remove duplicate code to set default transfer speed X-Git-Tag: v3.15-rc1~147^2~2^4~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e428a420078eac26039b53af464355332809be52;p=pandora-kernel.git spi: sh-hspi: Remove duplicate code to set default transfer speed In the implementation of __spi_validate(), spi core will use spi device's max speed as default transfer speed if it is not set for this transfer. So we can remove the same logic in hspi_hw_setup(). Signed-off-by: Axel Lin Acked-by: Geert Uytterhoeven Signed-off-by: Mark Brown --- Reading git-diff-tree failed