Re: [PATCH v2 39/45] drivers: tty: serial: efm32-uart: use devm_* functions

2019-03-15 Thread Uwe Kleine-König
Hello Enrico, On Thu, Mar 14, 2019 at 11:34:09PM +0100, Enrico Weigelt, metux IT consult wrote: > Use the safer devm versions of memory mapping functions. In which aspect is devm_ioremap safer than ioremap? The only upside I'm aware of is that the memory is automatically unmapped on device

[PATCH v2 39/45] drivers: tty: serial: efm32-uart: use devm_* functions

2019-03-14 Thread Enrico Weigelt, metux IT consult
Use the safer devm versions of memory mapping functions. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/tty/serial/efm32-uart.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/tty/serial/efm32-uart.c b/drivers/tty/serial/efm32-uart.c index