OSDN Git Service

serial: imx: consistently use imx_uart_ as prefix for all functions
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 2 Mar 2018 10:07:30 +0000 (11:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Mar 2018 18:21:02 +0000 (10:21 -0800)
commit9d1a50a2cceb3a8589531f7a2652f1a478df8907
tree297e308d6f2ac76d3da0f8891d7a3a060c85d1b0
parent48669b69e3ecbabbd2936fbbe095901ba83a37f9
serial: imx: consistently use imx_uart_ as prefix for all functions

Having a fixed prefix helps at several places. It ensures that another
driver doesn't use the same function name which confuses the linker and
tools like ctags. It simplifies working with function tracing and
dynamic printk() support which can filter on function names. And last
but not least it helps the human source code reader to understand if a
given function belongs to a driver or a more general part of the kernel.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c