[PATCH 41/41] drivers: tty: serial: lpc32xx_hs: fill mapsize and use it

Vladimir Zapolskiy vz at mleia.com
Wed May 1 06:52:58 AEST 2019


Hi Enrico,

On 04/27/2019 03:52 PM, Enrico Weigelt, metux IT consult wrote:
> Fill the struct uart_port->mapsize field and use it, insteaf of

typo, 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 at metux.net>

Acked-by: Vladimir Zapolskiy <vz at mleia.com>

--
Best wishes,
Vladimir


More information about the Linuxppc-dev mailing list