[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)
commit4fa97dcf9d48b02934c60a48873199850351e760
treeeac7bda737afe4d723b12d8ae67dfe35d14098a7
parent3676463178401293d625a102a00da0473fa33a1b
[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