USB: Chipidea: add unified ci13xxx_{add,remove}_device for platform drivers
authorRichard Zhao <richard.zhao@freescale.com>
Sat, 7 Jul 2012 14:56:41 +0000 (22:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Jul 2012 16:53:44 +0000 (09:53 -0700)
commitcbc6dc2af39e1395564445fd71cfcc1c70a96277
tree24312066e797d7ae29bd84725c1b1994d4f5d6ba
parent26c696c678c4ce180599330999e895cded0f625b
USB: Chipidea: add unified ci13xxx_{add,remove}_device for platform drivers

Platform drivers do the similar things to add/remove ci13xxx device, so
create a unified one.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/ci13xxx_msm.c
drivers/usb/chipidea/ci13xxx_pci.c
drivers/usb/chipidea/core.c
include/linux/usb/chipidea.h