From: Alexandre TORGUE Date: Thu, 15 Sep 2016 16:42:37 +0000 (+0200) Subject: serial: stm32: correct flow control property spelling X-Git-Tag: v4.9-rc1~147^2~32 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=59bed2dfe03e9e572bfb5a2d29effc1791eedcbc;p=thirdparty%2Fkernel%2Flinux.git serial: stm32: correct flow control property spelling "st,hw-flow-ctrl" property is documented in device tree binding whereas "auto-flow-control" was used in the code. The driver is now aligned with the binding name "st,hw-flow-ctrl". Signed-off-by: Gerald Baeza Signed-off-by: Alexandre TORGUE Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c index 184b0183bb38a..ab294b927b673 100644 --- a/drivers/tty/serial/stm32-usart.c +++ b/drivers/tty/serial/stm32-usart.c @@ -508,7 +508,7 @@ static struct stm32_port *stm32_of_get_stm32_port(struct platform_device *pdev) return NULL; stm32_ports[id].hw_flow_control = of_property_read_bool(np, - "auto-flow-control"); + "st,hw-flow-ctrl"); stm32_ports[id].port.line = id; return &stm32_ports[id]; }