Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: tty: serial: uartlite: fill mapsize and use it
Fill the struct uart_port->mapsize field and use it, insteaf of 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@metux.net>
- Loading branch information