[PATCH 13/41] drivers: tty: serial: uartlite: fill mapsize and use it
Enrico Weigelt, metux IT consult
lkml at metux.net
Tue Apr 30 04:26:51 AEST 2019
On 29.04.19 17:19, Peter Korsgaard wrote:
>>>>>> "Enrico" == Enrico Weigelt, metux IT consult <info at metux.net> writes:
>
> > Fill the struct uart_port->mapsize field and use it, insteaf of
>
> s/insteaf/instead/
Fixed.
> > 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 at metux.net>
>
> Acked-by: Peter Korsgaard <peter at korsgaard.com>
thanks for review.
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info at metux.net -- +49-151-27565287
More information about the Linuxppc-dev
mailing list