spi: stm32h7: replace private SPI_1HZ_NS with NSEC_PER_SEC
authorAmelie Delaunay <amelie.delaunay@foss.st.com>
Fri, 5 Feb 2021 18:59:31 +0000 (19:59 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 5 Feb 2021 19:17:00 +0000 (19:17 +0000)
commite1e2093b16cb1cefe4dc483b00e73d1333260784
tree01193d3191d7796ed5d6c8c107d1bcaa0675968b
parentc63b95b76e69b679b9b95014552db099eb77a4fa
spi: stm32h7: replace private SPI_1HZ_NS with NSEC_PER_SEC

Replace SPI_1HZ_NS private constant with NSEC_PER_SEC, which is easier
to read and understand.

Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Link: https://lore.kernel.org/r/1612551572-495-8-git-send-email-alain.volmat@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-stm32.c