]> git.karo-electronics.de Git - linux-beck.git/commit
serial: MIPS: lantiq: use devm_iounmap instead of iounmap
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 6 Nov 2014 13:30:42 +0000 (19:00 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 23:01:03 +0000 (15:01 -0800)
commit1511316fbd1c690ad0a16324d88fb5ec45d6be36
tree3f9fa6efcbf64008f8c0cb18f55ebf1834505a0f
parentb1835d238ad3dc6ad8fe23172b1995d1fb5bdd39
serial: MIPS: lantiq: use devm_iounmap instead of iounmap

port->membase was allocated using devm_ioremap_nocache, so ideally
we should unmap it using devm_iounmap. but it was using iounmap.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/lantiq.c