msm: mdm: Remove peripheral callbacks.
Removing and adding mdm peripheral devices are now done within the
the mdm driver. The peripheral device structure must be passed
in via platform data.
Change-Id: I1ed8290392ebda61df49d2bff9e31e488aa4b6b4
Signed-off-by: Joel King <joelking@codeaurora.org>
diff --git a/arch/arm/mach-msm/mdm_common.c b/arch/arm/mach-msm/mdm_common.c
index 28159fa..b672957 100644
--- a/arch/arm/mach-msm/mdm_common.c
+++ b/arch/arm/mach-msm/mdm_common.c
@@ -139,7 +139,7 @@
{
int value = gpio_get_value(mdm_drv->mdm2ap_status_gpio);
- mdm_drv->ops->status_cb(value);
+ mdm_drv->ops->status_cb(mdm_drv, value);
pr_debug("%s: status:%d\n", __func__, value);