commit | 05514c86965f98f9b0e57f73700771fa267050a7 | [log] [tgz] |
---|---|---|
author | Quentin Schulz <quentin.schulz@free-electrons.com> | Wed Apr 12 09:05:19 2017 +0200 |
committer | Mark Brown <broonie@kernel.org> | Wed Apr 12 10:47:52 2017 +0100 |
tree | 7ea3c5048921947f0ac983d9dab88412e9fd4dbc | |
parent | fafd67940774733fa97f4b09412aea6981b82e0a [diff] |
spi: atmel: factorize reusable code for SPI controller init The SPI controller configuration during the init can be reused, for the resume function for example. Let's move this configuration to a separate function. Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Mark Brown <broonie@kernel.org>