diff options
| author | Axel Lin <[email protected]> | 2014-03-02 15:24:18 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2014-03-13 09:52:38 +0000 |
| commit | bed890b4310b1d3b33c88fb83e216a8182e8bbad (patch) | |
| tree | c626905d85c868d1f6cd81bf4c6e20e1f912b105 /drivers/net/xen-netback/interface.c | |
| parent | spi: clps711x: Provide label argument for devm_gpio_request (diff) | |
| download | kernel-bed890b4310b1d3b33c88fb83e216a8182e8bbad.tar.gz kernel-bed890b4310b1d3b33c88fb83e216a8182e8bbad.zip | |
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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
