[U-Boot,1/1] omap3: spi: the symbol for Hertz is Hz

Message ID 20171112200252.9782-1-xypron.glpk@gmx.de
State Accepted
Delegated to: Tom Rini
Headers show
Series
  • [U-Boot,1/1] omap3: spi: the symbol for Hertz is Hz
Related show

Commit Message

Heinrich Schuchardt Nov. 12, 2017, 8:02 p.m.
fix typo

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 drivers/spi/omap3_spi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Tom Rini Nov. 21, 2017, 1:05 p.m. | #1
On Sun, Nov 12, 2017 at 09:02:52PM +0100, Heinrich Schuchardt wrote:

> fix typo
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

Applied to u-boot/master, thanks!

Patch

diff --git a/drivers/spi/omap3_spi.c b/drivers/spi/omap3_spi.c
index ebbdcaf14a..1da4542af0 100644
--- a/drivers/spi/omap3_spi.c
+++ b/drivers/spi/omap3_spi.c
@@ -548,7 +548,8 @@  struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
 	}
 
 	if (max_hz > OMAP3_MCSPI_MAX_FREQ) {
-		printf("SPI error: unsupported frequency %i Hz. Max frequency is 48 Mhz\n", max_hz);
+		printf("SPI error: unsupported frequency %i Hz. Max frequency is 48 MHz\n",
+		       max_hz);
 		return NULL;
 	}