]> git.baikalelectronics.ru Git - kernel.git/commit
[SERIAL] sunzilog: Fix bugs in device deregristration.
authorDavid S. Miller <davem@davemloft.net>
Thu, 29 Jun 2006 22:13:40 +0000 (15:13 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 29 Jun 2006 23:37:44 +0000 (16:37 -0700)
commitfc16e9888a82250cb3fdc8ccfcef58fe3397ead6
treeeac7bda737afe4d723b12d8ae67dfe35d14098a7
parent69e138770c99bb950abdde1109805a8b9b6554e7
[SERIAL] sunzilog: Fix bugs in device deregristration.

1) Need to unregister 2 ports per of_device.
2) Need to of_iounmap() 1 mapping per of_device.
3) Need to free up the IRQ only after all devices
   have been unregistered.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/serial/sunzilog.c