serial: mfd: fix bug in serial_hsu_remove()
authorFeng Tang <feng.tang@intel.com>
Mon, 6 Sep 2010 12:41:02 +0000 (13:41 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 23:30:00 +0000 (16:30 -0700)
commite3671ac429fe50cf0c1b4f1dc4b7237207f1d956
treeaff4ea579c4fc83abde7b889cce8e6107f8e1be9
parent476f771cb9b6cd4845dcd18f16a2f03a89ee63fc
serial: mfd: fix bug in serial_hsu_remove()

Medfield HSU driver deal with 4 pci devices(3 uart ports + 1 dma controller),
so in pci remove func, we need handle them differently

Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/mfd.c