From: Axel Lin Date: Fri, 28 Feb 2014 10:39:33 +0000 (+0800) Subject: spi: sc18is602: Convert to let spi core validate transfer speed X-Git-Tag: v3.15-rc1~147^2~2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09e99bca8324c3335794b86802486bb5191861d5;p=pandora-kernel.git spi: sc18is602: Convert to let spi core validate transfer speed Set master->max_speed_hz and master->min_speed_hz then spi core will handle checking transfer speed. So we can remove the same checking in this driver. This patch also remove testing if hz is 0 because spi->max_speed_hz will be default set to master->min_speed_hz if it was not set. So the transfer speed will never set to 0. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed