From: Axel Lin Date: Sun, 2 Mar 2014 15:24:18 +0000 (+0800) Subject: spi: clps711x: Remove duplicate code to set default bits_per_word and max speed X-Git-Tag: v3.15-rc1~147^2~6^4~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bed890b4310b1d3b33c88fb83e216a8182e8bbad;p=pandora-kernel.git spi: clps711x: Remove duplicate code to set default bits_per_word and max speed In the implementation of __spi_validate(), spi core will set transfer bits_per_word and max speed as spi device default if it is not set for this transfer. So we can remove the same logic in spi_clps711x_setup_xfer() and spi_clps711x_transfer_one(). Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed