From: Axel Lin Date: Fri, 17 Jan 2014 10:53:40 +0000 (+0800) Subject: spi: Remove duplicate code to set default bits_per_word setting X-Git-Tag: v3.14-rc1~91^2~4^6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23061f1eb844edd349c3a0f5f40e244c9d2abfde;p=pandora-kernel.git spi: Remove duplicate code to set default bits_per_word setting The implementation in spi_setup() already set spi->bits_per_word = 8 when spi->bits_per_word is 0 before calling spi->master->setup. So we don't need to do it again in setup() callback. Signed-off-by: Axel Lin Acked-by: Marek Vasut Acked-by: Barry Song Acked-by: Guenter Roeck Signed-off-by: Mark Brown --- Reading git-diff-tree failed