Home
last modified time | relevance | path

Searched hist:"9 d1a50a2" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/tty/serial/
H A Dimx.c9d1a50a2 Fri Mar 02 04:07:30 CST 2018 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> 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>
9d1a50a2 Fri Mar 02 04:07:30 CST 2018 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> 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>