spi: atmel: print version only after successful registration
authorBaruch Siach <baruch@tkos.co.il>
Tue, 30 May 2017 05:33:30 +0000 (08:33 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 6 Jun 2017 19:01:45 +0000 (20:01 +0100)
commit6aba9c65649e5ef137bce7a958c0749f13af88a1
tree90e45b98bcbd62c0e3abb2cda6dbf0420c97a3fe
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
spi: atmel: print version only after successful registration

Don't print the version at the beginning of atmel_spi_probe(). This avoids
spamming the log whenever a deferred probe runs.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-atmel.c