Re: [PATCH 13/41] drivers: tty: serial: uartlite: fill mapsize and use it

From: Peter Korsgaard
Date: Mon Apr 29 2019 - 11:20:05 EST


>>>>> "Enrico" == Enrico Weigelt, metux IT consult <info@xxxxxxxxx> writes:

> Fill the struct uart_port->mapsize field and use it, insteaf of

s/insteaf/instead/

> hardcoded values in many places. This makes the code layout a bit
> more consistent and easily allows using generic helpers for the
> io memory handling.

> Candidates for such helpers could be eg. the request+ioremap and
> iounmap+release combinations.

> Signed-off-by: Enrico Weigelt <info@xxxxxxxxx>

Acked-by: Peter Korsgaard <peter@xxxxxxxxxxxxx>

--
Bye, Peter Korsgaard