diff options
author | Jarkko Nikula | 2015-09-15 16:26:24 +0300 |
---|---|---|
committer | Mark Brown | 2015-09-17 18:35:25 +0100 |
commit | 55f9a0706f60df4639010c91d6f28ce6b2351179 (patch) | |
tree | fa5e6e6d178254a522b78c87b0c9cc9872a679ac /init | |
parent | 0ed36990a93b23c4873c77cdc1423429e40ed469 (diff) |
spi: dw: Remove test for non-zero spi->max_speed_hz
Test for non-zero spi->max_speed_hz in dw_spi_setup() looks needless as
spi_setup() defaults to master->max_speed_hz in case it is not set. This
drivers sets the master->max_speed_hz based on max_freq data passed to it
via dw_spi_add_host() call. I suppose things have already fallen apart if
dw_spi_mmio_probe() or spi_pci_probe() ever passes zero max_freq.
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions