serial: stm32: add "_usart" prefix in functions name
authorErwan Le Ray <erwan.leray@foss.st.com>
Wed, 6 Jan 2021 16:21:58 +0000 (17:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Jan 2021 15:19:29 +0000 (16:19 +0100)
commit56f9a76c27b51bc8e9bb938734e3de03819569ae
tree11b465f75f412e9b27212581f363603a22dbce6a
parent92fc00238675a15cc48f09694949f0c0012e0ff4
serial: stm32: add "_usart" prefix in functions name

Adds the prefix "_usart" in the name of stm32 usart functions in order to
ease the usage of kernel trace and tools, such as f-trace.
Allows to trace "stm32_usart_*" functions with f-trace. Without this patch,
all the driver functions needs to be added manually in f-trace filter.

Signed-off-by: Erwan Le Ray <erwan.leray@foss.st.com>
Signed-off-by: Valentin Caron <valentin.caron@foss.st.com>
Link: https://lore.kernel.org/r/20210106162203.28854-4-erwan.leray@foss.st.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/stm32-usart.c