Commit 59bed2df authored by Alexandre TORGUE's avatar Alexandre TORGUE Committed by Greg Kroah-Hartman

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: default avatarGerald Baeza <gerald.baeza@st.com>
Signed-off-by: default avatarAlexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a14f66a4
...@@ -508,7 +508,7 @@ static struct stm32_port *stm32_of_get_stm32_port(struct platform_device *pdev) ...@@ -508,7 +508,7 @@ static struct stm32_port *stm32_of_get_stm32_port(struct platform_device *pdev)
return NULL; return NULL;
stm32_ports[id].hw_flow_control = of_property_read_bool(np, stm32_ports[id].hw_flow_control = of_property_read_bool(np,
"auto-flow-control"); "st,hw-flow-ctrl");
stm32_ports[id].port.line = id; stm32_ports[id].port.line = id;
return &stm32_ports[id]; return &stm32_ports[id];
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment